pgsql: Fix dbmirror for new backslash escaping: Martin Pitt [2006-06-16

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix dbmirror for new backslash escaping: Martin Pitt [2006-06-16
Date: 2006-07-06 02:02:48
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/contrib/dbmirror:
DBMirror.pl (r1.6.4.1 -> r1.6.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dbmirror/DBMirror.pl.diff?r1=1.6.4.1&r2=1.6.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-07-06 02:03:01 pgsql: Fix dbmirror for new backslash escaping: Martin Pitt [2006-06-16
Previous Message Bruce Momjian 2006-07-06 02:02:36 pgsql: Fix dbmirror for new backslash escaping: Martin Pitt [2006-06-16