]> granicus.if.org Git - postgresql/commit
Fix dbmirror for new backslash escaping:
authorBruce Momjian <bruce@momjian.us>
Thu, 6 Jul 2006 02:02:48 +0000 (02:02 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 6 Jul 2006 02:02:48 +0000 (02:02 +0000)
commit24ccd11a6c1045f684ee9a00788a27ccb85dd694
tree7841a888748600b9e35f43abd90398f0c655882a
parent9e6815ef0f07b50d7b524194e0d34ce9707d74fb
Fix dbmirror for new backslash escaping:

Martin Pitt [2006-06-16  0:15 +0200]:
> Upstream confirmed my reply in the last mail in [1]: the complete
> escaping logic in DBMirror.pl is seriously screwew.
>
> [1] http://archives.postgresql.org/pgsql-bugs/2006-06/msg00065.php

I finally found some time to debug this, and I think I found a better
patch than the one you proposed. Mine is still hackish and is still a
workaround around a proper quoting solution, but at least it repairs
the parsing without introducing the \' quoting again.

I consider this a band-aid patch to fix the recent security update.
PostgreSQL gurus, would you consider applying this until a better
solution is found for DBMirror.pl?

Martin Pitt        http://www.piware.de
contrib/dbmirror/DBMirror.pl