Re: BUG #13736: pg_dump should use E'' quotes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, felipe(at)felipegasper(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13736: pg_dump should use E'' quotes
Date: 2015-11-02 18:56:19
Message-ID: 5637B1D3.2050805@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/26/15 5:33 PM, Tom Lane wrote:
> We could avoid the problem by having pg_dump force
> standard_conforming_strings to ON rather than adopting the prevailing
> database setting,

It does do that.

What it doesn't do is set escape_string_warning, which is really what
the reporter would need. (There is code in pg_dump to do it, but it
apparently only runs when standard_confirming_string is not set. I
haven't traced what that code is really meant to do.)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2015-11-02 19:03:02 Re: BUG #13733: ~/.psql_history* corrupted
Previous Message jeremiah.reinmiller 2015-11-02 18:28:52 BUG #13752: Incorrect RPM Version on 9.0.23 Release