Re: [BUGS] BUG #2171: Differences compiling plpgsql in

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [BUGS] BUG #2171: Differences compiling plpgsql in
Дата
Msg-id 1138905401.5342.15.camel@swithin
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #2171: Differences compiling plpgsql in ecpg and psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [BUGS] BUG #2171: Differences compiling plpgsql in  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [BUGS] BUG #2171: Differences compiling plpgsql in ecpg  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
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


В списке pgsql-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: TODO-Item: TRUNCATE ... CASCADE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #2171: Differences compiling plpgsql in