Re: error in compilation!

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: error in compilation!
Дата
Msg-id 200605280242.k4S2gBG23573@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: error in compilation!  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I am thinking it is best to always use E'' in that case.  OK?
> 
> I'm planning to revert it to the previous logic: E if there's any
> backslash.  I think we have to do likewise in quote_literal() for
> much the same reason: insufficient confidence that we know how
> the result will be used.  (Note dblink uses quote_literal for
> strings it will send to the other database.)

Good point.  Good thing only dblink and /contrib/tablefunc use
quote_literal()..

--  Bruce Momjian   http://candle.pha.pa.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: error in compilation!
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: error in compilation!