Re: error in compilation!

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error in compilation!
Date: 2006-05-28 02:42:11
Message-ID: 200605280242.k4S2gBG23573@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-05-28 02:42:52 Re: error in compilation!
Previous Message Gurjeet Singh 2006-05-28 02:16:49 Re: error in compilation!