pgsql: Clean up some Coverity complaints about commit 0bf3ae88af330496. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Clean up some Coverity complaints about commit 0bf3ae88af330496.
Date
Msg-id E1ai2Fe-0007A8-Jg@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/92b7902deb3155f6975f33e8b6c8be4d9d066172

Modified Files
--------------
contrib/postgres_fdw/deparse.c      | 4 ++++
contrib/postgres_fdw/postgres_fdw.c | 9 +++++++--
2 files changed, 11 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: Re: pgsql: Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Introduce WaitEventSet API.