diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:38 +0000 |
commit | 7eb9f613c3fdc33b2ea19177e7e0b210f38f194c (patch) | |
tree | f955d0aa43756fbea5bd548aa0656d4433919f8f /src/backend/access/gist/gist.c | |
parent | 45b8e6ed687c7a7c595d116ecb6fe898041fd7c5 (diff) | |
download | postgresql-7eb9f613c3fdc33b2ea19177e7e0b210f38f194c.tar.gz postgresql-7eb9f613c3fdc33b2ea19177e7e0b210f38f194c.zip |
Fix pg_dump/pg_restore's ExecuteSqlCommand() to behave suitably if PQexec
returns NULL instead of a PGresult. The former coding would fail, which
is OK, but it neglected to give you the PQerrorMessage that might tell
you why. In the oldest branches, there was another problem: it'd sometimes
report PQerrorMessage from the wrong connection.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions