postgresql/src/bin
Tom Lane 7f4235032f Avoid null pointer dereference if error result lacks SQLSTATE.
Although error results received from the backend should always have
a SQLSTATE field, ones generated by libpq won't, making this code
vulnerable to a crash after, say, untimely loss of connection.
Noted by Coverity.

Oversight in commit 403a3d91c.  Back-patch to 9.5, as that was.
2020-11-01 11:26:16 -05:00
..
initdb Make postgres.bki use the same literal-string syntax as postgresql.conf. 2020-10-04 16:09:55 -04:00
pg_archivecleanup Improve common/logging.c's support for multiple verbosity levels. 2020-09-17 12:52:18 -04:00
pg_basebackup Standardize the printf format for st_size 2020-09-24 21:04:21 +02:00
pg_checksums Avoid non-constant format string argument to fprintf(). 2020-08-18 13:13:09 +03:00
pg_config Translation updates 2020-05-18 12:49:30 +02:00
pg_controldata Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
pg_ctl Fix -Wcast-function-type warnings on Windows/MinGW 2020-10-21 08:17:51 +02:00
pg_dump Avoid null pointer dereference if error result lacks SQLSTATE. 2020-11-01 11:26:16 -05:00
pg_resetwal Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
pg_rewind Improve common/logging.c's support for multiple verbosity levels. 2020-09-17 12:52:18 -04:00
pg_test_fsync Clean up after newly-added tests for pg_test_fsync and pg_test_timing. 2020-10-07 13:27:33 -04:00
pg_test_timing Clean up after newly-added tests for pg_test_fsync and pg_test_timing. 2020-10-07 13:27:33 -04:00
pg_upgrade pg_upgrade: remove C99 compiler req. from commit 3c0471b5fd 2020-10-15 20:37:20 -04:00
pg_verifybackup Standardize the printf format for st_size 2020-09-24 21:04:21 +02:00
pg_waldump Correct several behavior descriptions in comments. 2020-08-15 20:21:52 -07:00
pgbench pgbench: Use PQExpBuffer to simplify code that constructs SQL. 2020-09-30 10:58:09 +03:00
pgevent Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
psql Use mode "r" for popen() in psql's evaluate_backtick(). 2020-10-28 14:35:53 -04:00
scripts Fix connection string handling in src/bin/scripts/ programs. 2020-10-19 19:03:46 -04:00
Makefile Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00