Re: [PATCHES] [INTERFACES] [BUGS] BUG #2171: Differences compiling plpgsql in ecpg and psql

2006-02-09 Thread Michael Meskes
> > Actually ecpg should not translate dollar quoting at all. I'm going to > > fix this. Dollar quotes will then be send to the backend with > > translation and the backend takes care of the rest. > > Well, CVS version before I modified it had "dolq" stuff in the lexer to > handle dollar quotes and

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

2006-02-06 Thread Bruce Momjian
Michael Meskes wrote: > On Wed, Feb 01, 2006 at 11:48:45PM -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

Re: [PATCHES] [INTERFACES] [BUGS] BUG #2171: Differences compiling plpgsql in ecpg and psql

2006-02-06 Thread Michael Meskes
On Wed, Feb 01, 2006 at 11:48:45PM -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. Actua