Clean up some Coverity complaints about commit 0bf3ae88af330496.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 92b7902deb3155f6975f33e8b6c8be4d9d066172
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-21T16:00:02Z
Releases: 9.6.0
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.

Files

PathChange+/−
contrib/postgres_fdw/deparse.c modified +4 −0
contrib/postgres_fdw/postgres_fdw.c modified +7 −2