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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Felipe Gasper <felipe(at)felipegasper(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13736: pg_dump should use E'' quotes
Date: 2015-10-26 22:08:02
Message-ID: 20151026220802.GG8136@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2015-10-26 17:06:04 -0500, Felipe Gasper wrote:
> The problem is that I don’t control the DB server...

PGOPTIONS='-c standard_conforming_strings=on -c escape_string_warning=off' pg_dump

ought to do the trick.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2015-10-26 22:15:55 Re: BUG #13736: pg_dump should use E'' quotes
Previous Message Felipe Gasper 2015-10-26 22:06:04 Re: BUG #13736: pg_dump should use E'' quotes