Clean up some Coverity complaints about commit 0bf3ae88af330496.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/deparse.c | modified | +4 −0 |
| contrib/postgres_fdw/postgres_fdw.c | modified | +7 −2 |