pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: andrew5@ece.cmu.edu, PostgreSQL-patches <pgsql-patches@postgresql.org>
Subject: Re: [BUGS] BUG #2171: Differences compiling plpgsql in
Date: Thu, 02 Feb 2006 13:36:41 -0500
Message-ID: <1138905401.5342.15.camel@swithin> (raw)
In-Reply-To: <200602020448.k124mjG25834@candle.pha.pa.us>
References: <200602020448.k124mjG25834@candle.pha.pa.us>

On Wed, 2006-02-01 at 23:48 -0500, Bruce Momjian wrote:
> I have researched your report, and you are right, there are two ecpg
> bugs here.  First, dollar quoting uses single-quotes internally to do
> the quoting, but it does not double any single-quotes in the
> dollar-quoted string.
> 

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.

cheers

andrew




view thread (9+ messages)  latest in thread

Message-ID: <1138905401.5342.15.camel@swithin>
Permalink:  ../1138905401.5342.15.camel@swithin/
Also on:    postgresql.org/message-id/1138905401.5342.15.camel@swithin

 · 

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-interfaces@postgresql.org
  Cc: andrew@dunslane.net, pgman@candle.pha.pa.us, pgsql-patches@postgresql.org
  Subject: Re: [BUGS] BUG #2171: Differences compiling plpgsql in
  In-Reply-To: <1138905401.5342.15.camel@swithin>

* 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