pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: Re: show value of backslashes in string array argument
Date: Mon, 12 Nov 2007 19:12:36 +0200
Message-ID: <fha1hr$25gm$1@news.hub.org> (raw)
References: <fh95jt$1ff7$1@news.hub.org>
	<6268.1194883527@sss.pgh.pa.us>


"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message 
news:6268.1194883527@sss.pgh.pa.us...
> That's how it's supposed to be.  See
> http://www.postgresql.org/docs/8.2/static/arrays.html#AEN5876

Hi Tom,

I read it and I understood there are 2 cascaded parsers, but I didn't find 
an explicit reference to the behavior related to 
standard_conforming_strings.

But after some tests, I found the following behaviors:
- the 1st parser is the SQL interpreter which is aware of 
standard_conforming_strings (on or off)
- the 2nd parser which is an array interpreter, doesn't care of 
standard_conforming_strings, using every time C escape conventions

Please confirm me whether I understand it correctly or not.

TIA,
Sabin 





view thread (6+ messages)

Message-ID: <fha1hr$25gm$1@news.hub.org>
Permalink:  ../fha1hr$25gm$1@news.hub.org/
Also on:    postgresql.org/message-id/fha1hr$25gm$1@news.hub.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: show value of backslashes in string array argument
  In-Reply-To: <fha1hr$25gm$1@news.hub.org>

* 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