diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:11 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:11 +0000 |
commit | 4dff669cf0b999bf57c29d2cd43df562a7b70e82 (patch) | |
tree | 7275bc4c9a0ccde54727863bd934fea61635ebf6 /src/backend/access/gist/gistget.c | |
parent | 36985c52f4636f30b7d71759828fb238bd2dd3a4 (diff) | |
download | postgresql-4dff669cf0b999bf57c29d2cd43df562a7b70e82.tar.gz postgresql-4dff669cf0b999bf57c29d2cd43df562a7b70e82.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/gistget.c')
0 files changed, 0 insertions, 0 deletions