diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:17 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:17 +0000 |
commit | 8ca6a92ae044f10e39531983519b754f4ab4e8e5 (patch) | |
tree | b49376eda7f8557ddba2d00847eef054bb52202d /src/backend/access/gist/gistvacuum.c | |
parent | f44f0ea87cf2a8c9b8b2bc250c92133e048f7c0c (diff) | |
download | postgresql-8ca6a92ae044f10e39531983519b754f4ab4e8e5.tar.gz postgresql-8ca6a92ae044f10e39531983519b754f4ab4e8e5.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/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions