Re: pg_dump: fix crash on error

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: pg_dump: fix crash on error
Дата
Msg-id 42E71518.3000904@samurai.com
обсуждение исходный текст
Ответ на Re: pg_dump: fix crash on error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump: fix crash on error
Список pgsql-patches
Tom Lane wrote:
> [ scratches head... ]  Did this code change recently?  It's a tad hard
> to believe that such a thing could have gone unnoticed for long.

Seems the problem was introduced here:

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_db.c.diff?r1=1.58;r2=1.59

(I could just revert the code to using PQdb(), but I don't think there's
a need to mention the database in the error message ourselves --
PQerrorMessage() should include that information if appropriate.)

-Neil

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump: fix crash on error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump: fix crash on error