postgresql/src/bin
Tom Lane 1127377a57 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:47 -05:00
..
initdb Translation updates 2020-08-10 15:34:18 +02:00
pg_archivecleanup Fix new warnings from GCC 7 2017-05-16 08:52:39 -04:00
pg_basebackup Translation updates 2020-08-10 15:34:18 +02:00
pg_config Translation updates 2020-08-10 15:34:18 +02:00
pg_controldata Translation updates 2020-08-10 15:34:18 +02:00
pg_ctl Translation updates 2020-08-10 15:34:18 +02:00
pg_dump Avoid null pointer dereference if error result lacks SQLSTATE. 2020-11-01 11:26:47 -05:00
pg_resetxlog Translation updates 2020-08-10 15:34:18 +02:00
pg_rewind Remove useless lstat() call in pg_rewind. 2020-09-06 11:50:41 -04:00
pg_test_fsync Switch pg_test_fsync to use binary mode on Windows 2020-07-16 15:53:09 +09:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade pg_upgrade: remove C99 compiler req. from commit 3c0471b5fd 2020-10-15 20:37:19 -04:00
pg_xlogdump pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs. 2019-10-29 22:54:36 -07:00
pgbench Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:23:03 -05:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05: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:47 -04:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00