Re: dump of functions does not handle backslashes correctly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: dump of functions does not handle backslashes correctly
Date: 2001-01-04 03:03:20
Message-ID: 19746.978577400@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Robert B. Easter" <reaster(at)comptechnews(dot)com> writes:
> Is this a pg_dump bug or is there there some way to do this right?

It's a pg_dump bug --- pg_dump knows how to quote special characters
in string literals, but failed to do so for function bodies
(and a number of other places too). I've committed a fix.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Karel Zak 2001-01-04 08:08:02 Re: Output of date_part('quarter', date)
Previous Message Tom Lane 2001-01-03 23:04:06 Re: update and tcl/tk