X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2AB549DCB72 for ; Thu, 2 Feb 2006 17:41:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29571-02 for ; Thu, 2 Feb 2006 17:41:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E529C9DCB68 for ; Thu, 2 Feb 2006 17:41:02 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k12Lf14I019110; Thu, 2 Feb 2006 16:41:01 -0500 (EST) To: Andrew Dunstan cc: Bruce Momjian , andrew5@ece.cmu.edu, PostgreSQL-patches Subject: Re: [BUGS] BUG #2171: Differences compiling plpgsql in In-reply-to: <1138905401.5342.15.camel@swithin> References: <200602020448.k124mjG25834@candle.pha.pa.us> <1138905401.5342.15.camel@swithin> Comments: In-reply-to Andrew Dunstan message dated "Thu, 02 Feb 2006 13:36:41 -0500" Date: Thu, 02 Feb 2006 16:41:01 -0500 Message-ID: <19109.1138916461@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.103 required=5 tests=[AWL=0.103] X-Spam-Score: 0.103 X-Spam-Level: X-Archive-Number: 200602/35 X-Sequence-Number: 18700 Andrew Dunstan writes: > As a matter of curiosity, why does ecpg handle dollar quoting like that? > psql, for example, happily just passes a dollar quoted string through to > the backend, without any need to convert it to a conventionally quoted > string. Doesn't ecpg have to convert string literals into C string constants? regards, tom lane