X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A6CDFD76A1; Wed, 24 Aug 2005 09:49:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64611-07; Wed, 24 Aug 2005 12:49:16 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 40654D7697; Wed, 24 Aug 2005 09:49:14 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j7OCnFb28770; Wed, 24 Aug 2005 08:49:15 -0400 (EDT) From: Bruce Momjian Message-Id: <200508241249.j7OCnFb28770@candle.pha.pa.us> Subject: Re: ECPG and escape strings In-Reply-To: <20050823074036.GA8062@1> To: Michael Meskes Date: Wed, 24 Aug 2005 08:49:15 -0400 (EDT) Cc: Michael Fuhr , pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 required=5 tests=[AWL=0.009] X-Spam-Level: X-Archive-Number: 200508/797 X-Sequence-Number: 71992 Michael Meskes wrote: > On Wed, Aug 03, 2005 at 08:31:25AM -0600, Michael Fuhr wrote: > > ECPG seems to be a little overzealous with the new escape string syntax: > > This comes from starting the string constant with ESCAPE_STRING_SYNTAX > in case there is '\' inside the string. Actually I have no idea at the > moment how that made it into. I comment it out for the time being. If > anyone knows a reason for this behaviour please tell me and maybe fresh > up my memory. > > CVS commit to come as soon as I'm online again. I have removed that from CVS. It was a bug I introduced. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073