pgsql: Fix pg_dump/pg_restore's ExecuteSqlCommand() to behave suitably

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix pg_dump/pg_restore's ExecuteSqlCommand() to behave suitably
Дата
Msg-id 20080816022517.9D7EC755315@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_db.c (r1.75 -> r1.75.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_db.c?r1=1.75&r2=1.75.2.1)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix pg_dump/pg_restore's ExecuteSqlCommand() to behave suitably
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix pg_dump/pg_restore's ExecuteSqlCommand() to behave suitably