Обсуждение: pgsql: Clean up some Coverity complaints about commit 0bf3ae88af330496.

Поиск
Список
Период
Сортировка

pgsql: Clean up some Coverity complaints about commit 0bf3ae88af330496.

От
Tom Lane
Дата:
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(-)