Charles Clavadetscher <clavadetscher@swisspug.org> writes:
> Honestly I still don't understand why this happened this way.
I wonder if you have standard_conforming_strings turned off, or
did when that data was inserted. That would change the behavior
of backslashes in string literals.
regards, tom lane