diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:23 +0000 |
commit | 7e9308544f041cf59e0dd4916fe93fee9aa91f99 (patch) | |
tree | 8e7a3660a5c7f0eb0d5b64e810d28756773e4d3a /src/backend/access/gist/gistget.c | |
parent | 7a9b6cd47259e4d5ee4330e6b38fa021dbc111cd (diff) | |
download | postgresql-7e9308544f041cf59e0dd4916fe93fee9aa91f99.tar.gz postgresql-7e9308544f041cf59e0dd4916fe93fee9aa91f99.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