]> granicus.if.org Git - postgresql/commit
Clean up some Coverity complaints about commit 0bf3ae88af330496.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Mar 2016 15:59:49 +0000 (11:59 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Mar 2016 16:00:02 +0000 (12:00 -0400)
commit92b7902deb3155f6975f33e8b6c8be4d9d066172
tree3d196b5d532af79c8c132391bf56b6a8d30a95cb
parentae507d9222989f2fd8455cf32d4dcb337ccf32bb
Clean up some Coverity complaints about commit 0bf3ae88af330496.

The two get_tle_by_resno() calls introduced by this commit lacked any
check for a NULL return, unlike any other calls of that function anywhere
in our tree.  Coverity quite properly complained about it.  Also fix a
misindented line in process_query_params(), which Coverity also complained
about on the grounds that the bad indentation suggested possible programmer
misinterpretation.
contrib/postgres_fdw/deparse.c
contrib/postgres_fdw/postgres_fdw.c