aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-09 17:39:45 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-09 17:39:45 -0500
commit57da416933db2aee75485eff67b732063c978a48 (patch)
tree460a313e2bee64abe902a4f9eb3bf968ad185e4d /contrib/postgres_fdw
parentaa7e04cb56373f2209d30c89cd41b20191f252f9 (diff)
downloadpostgresql-57da416933db2aee75485eff67b732063c978a48.tar.gz
postgresql-57da416933db2aee75485eff67b732063c978a48.zip
Remove a useless PG_GETARG_DATUM() call from jsonb_build_array.
This loop uselessly fetched the argument after the one it's currently looking at. No real harm is done since we couldn't possibly fetch off the end of memory, but it's confusing to the reader. Also remove a duplicate (and therefore confusing) PG_ARGISNULL check in jsonb_build_object. I happened to notice these things while trolling for missed null-arg checks earlier today. Back-patch to 9.5, not because there is any real bug, but just because 9.5 and HEAD are still in sync in this file and we might as well keep them so. In passing, re-pgindent.
Diffstat (limited to 'contrib/postgres_fdw')
0 files changed, 0 insertions, 0 deletions