Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9CA4B37C7F9 for ; Mon, 12 Nov 2007 13:18:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 71121-05-4 for ; Mon, 12 Nov 2007 13:18:03 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id DEE7737B9F7 for ; Mon, 12 Nov 2007 13:13:54 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id lACHDqFo071284 for ; Mon, 12 Nov 2007 13:13:52 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id lACHCSCh071194 for pgsql-sql@postgresql.org; Mon, 12 Nov 2007 13:12:28 -0400 (AST) (envelope-from news) From: "Sabin Coanda" X-Newsgroups: pgsql.sql Subject: Re: show value of backslashes in string array argument Date: Mon, 12 Nov 2007 19:12:36 +0200 Organization: Hub.Org Networking Services Lines: 24 Message-ID: References: <6268.1194883527@sss.pgh.pa.us> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/54 X-Sequence-Number: 29582 "Tom Lane" 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