On Fri, 20 Jan 2012, ????? ?????????? wrote:
> [simple example code]
> What about these?
Yes, this is a bug. The escape processor is getting confused about what
it should process and is incorrectly modifying your code. Escape
processing should only occur in a raw SQL, never within a literal value.
The escape processor should skip over the entire function body because it
is within dollar quotes and is a literal, but it doesn't understand dollar
quotes so it is examining the contents and is getting further confused by
the single quotes within it.
The parameter locating code (looking for ?) knows about dollar quotes, so
it would be nice to unify with that instead of having two partial query
In response to
pgsql-jdbc by date
|Next:||From: John Lister||Date: 2012-01-20 19:32:26|
|Subject: Array helper patch|
|Previous:||From: Vitalii Tymchyshyn||Date: 2012-01-20 14:50:08|
|Subject: Re: NIO support|