summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorAndrew Dunstan2015-05-13 17:52:08 +0000
committerAndrew Dunstan2015-05-13 17:52:08 +0000
commit3f2cec797ecceb7467e365410506c0817f9d0163 (patch)
tree0f481167173f87595bb33791d8ee8dbb62228c65 /src/include/postgres.h
parentae6157164faf5ec1636a9acfe18bfd28a31db098 (diff)
Fix jsonb replace and delete on scalars and empty structures
These operations now error out if attempted on scalars, and simply return the input if attempted on empty arrays or objects. Along the way we remove the unnecessary cloning of the input when it's known to be unchanged. Regression tests covering these cases are added.
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions