forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita7aa0b8
committed
Backpatch dbmirror fix for escape handling.
> 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.phpI finally found some time to debug this, and I think I found a betterpatch than the one you proposed. Mine is still hackish and is still aworkaround around a proper quoting solution, but at least it repairsthe 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 bettersolution is found for DBMirror.pl?Olivier, can you please confirm that the patch works for you, too?Backpatched to 8.0.X.Martin Pitt1 parent4f4d62a commita7aa0b8
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| |||
907 | 907 |
| |
908 | 908 |
| |
909 | 909 |
| |
910 |
| - | |
| 910 | + | |
911 | 911 |
| |
912 | 912 |
| |
913 | 913 |
| |
|
0 commit comments
Comments
(0)