Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2006-05-28 02:42:52
Subject: Re: error in compilation!
Previous:From: Gurjeet SinghDate: 2006-05-28 02:16:49
Subject: Re: error in compilation!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group