diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-16 02:25:30 +0000 |
commit | af3f5293ef64a3f981e8b2e736b5f18b0501ef9e (patch) | |
tree | 0a7c9b2c0a9dbb61fc357e2705a53bdffe7def1a /contrib/rtree_gist/sql | |
parent | 1848ea720044dcff70d5eb9e4c90d533e0cdded6 (diff) | |
download | postgresql-af3f5293ef64a3f981e8b2e736b5f18b0501ef9e.tar.gz postgresql-af3f5293ef64a3f981e8b2e736b5f18b0501ef9e.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 'contrib/rtree_gist/sql')
0 files changed, 0 insertions, 0 deletions