Re: Question on replace function [solved] - Mailing list pgsql-general

From Charles Clavadetscher
Subject Re: Question on replace function [solved]
Date
Msg-id 02cb01d217ba$467feb30$d37fc190$@swisspug.org
Whole thread Raw
In response to Re: Question on replace function [solved]  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hello Tom and Adrian

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Adrian Klaver
> Sent: Sonntag, 25. September 2016 18:38
> To: Tom Lane <tgl@sss.pgh.pa.us>; Charles Clavadetscher <clavadetscher@swisspug.org>
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Question on replace function [solved]
>
> On 09/25/2016 08:39 AM, Tom Lane wrote:
> > 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.
>
> That got me to thinking:
>
> standard_conforming_strings = on

I checked the configuration and standard_conforming_strings is on and I did not change it before reading the data. The
resultlooks 
the same as you showed in the first test.
In a short test, trying to read the file with this setting off leads to other errors. Possibly I'll be able to make
somemore tests 
later or in the evening and report.

Thank you for you input.
Charles




pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Chante domain type - Postgres 9.2
Next
From: amul sul
Date:
Subject: Re: Transactions and functions