pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: felipe@felipegasper.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13736: pg_dump should use E'' quotes
Date: Mon, 2 Nov 2015 13:56:19 -0500
Message-ID: <5637B1D3.2050805@gmx.net> (raw)
In-Reply-To: <3219.1445895186@sss.pgh.pa.us>
References: <20151026204847.3021.73649@wrigleys.postgresql.org>
	<3219.1445895186@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.)



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (9+ messages)

Message-ID: <5637B1D3.2050805@gmx.net>
Permalink:  ../5637B1D3.2050805@gmx.net/
Also on:    postgresql.org/message-id/5637B1D3.2050805@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, felipe@felipegasper.com
  Subject: Re: BUG #13736: pg_dump should use E'' quotes
  In-Reply-To: <5637B1D3.2050805@gmx.net>
  References: <20151026204847.3021.73649@wrigleys.postgresql.org> <3219.1445895186@sss.pgh.pa.us> <5637B1D3.2050805@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox