postgresql/src/bin
Andres Freund 7685963eeb Handle PQresultErrorField(PG_DIAG_SQLSTATE) returning NULL in streamutil.c.
In ff27db5d I missed that PQresultErrorField() may return NULL if
there's no sqlstate associated with an error.

Spotted-By: Coverity
Reported-By: Michael Paquier
Discussion: CAB7nPqQ3o10SY6NVdU4pjq85GQTN5tbbkq2gnNUh2fBNU3rKyQ@mail.gmail.com
Backpatch: 9.5, like ff27db5d
2015-08-12 17:35:50 +02:00
..
initdb Translation updates 2015-06-28 23:56:55 -04:00
pg_archivecleanup Make WAL-related utilities handle .partial WAL files properly. 2015-07-03 11:53:58 +09:00
pg_basebackup Handle PQresultErrorField(PG_DIAG_SQLSTATE) returning NULL in streamutil.c. 2015-08-12 17:35:50 +02:00
pg_config Translation updates 2015-06-28 23:56:55 -04:00
pg_controldata Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
pg_ctl Allow TAP tests to run under Msys 2015-08-02 20:58:18 -04:00
pg_dump Fix privilege dumping from servers too old to have that type of privilege. 2015-08-10 20:10:15 -04:00
pg_resetxlog Improve includes introduced in the replication origins patch. 2015-08-06 12:41:46 +02:00
pg_rewind More fixes to allow pg_rewind tests to run on Msys. 2015-08-11 08:58:58 -04:00
pg_test_fsync Move pg_test_fsync from contrib/ to src/bin/ 2015-04-19 22:20:49 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade Remove redundant "make install" from pg_upgrade test suite. 2015-07-29 22:49:36 -04:00
pg_xlogdump Improve includes introduced in the replication origins patch. 2015-08-06 12:41:46 +02:00
pgbench Fix bug slowing down pgbench when -P is used. 2015-08-08 01:19:02 +02:00
pgevent Update copyright for 2015 2015-01-06 11:43:47 -05:00
psql Tab completion for CREATE SEQUENCE. 2015-08-04 12:29:20 -04:00
scripts Fix assorted memory leaks. 2015-07-12 16:26:08 -04:00
Makefile Move pg_xlogdump from contrib/ to src/bin/ 2015-04-21 19:03:49 -04:00