Re: Fwd: Bug#372115: Last security update of postgresql-contrib breaks database replication with DBMirror.pl

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Bug#372115: Last security update of postgresql-contrib breaks database replication with DBMirror.pl
Дата
Msg-id 780.1149957500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fwd: Bug#372115: Last security update of postgresql-contrib breaks database replication with DBMirror.pl  (Martin Pitt <martin@piware.de>)
Список pgsql-bugs
Martin Pitt <martin@piware.de> writes:
> Does anyone know DBMirror.pl? The proposed fix seems wrong since it
> just reverts the behavior to the old quote escaping style.

I don't know it, but the function being complained of seems exactly the
sort of ad-hoc escaping logic that the security update warns you should
get rid of.  (I fear we failed to notice it because it was in Perl not C
:-() I think it should be rewritten from the ground up.  Does the Pg
Perl module expose PQescapeString by any chance?  Relying on that would
be far better than letting this code live.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fwd: Bug#372115: Last security update of postgresql-contrib
Следующее
От: "Rojas, Fernando \(CIAT\)"
Дата:
Сообщение: Error Starting Back END