Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid) - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)
Date
Msg-id 2210.1156252206@sss.pgh.pa.us
Whole thread Raw
In response to [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)  (Grégory Chazalon <Gregory.Chazalon@advestigo.com>)
Responses Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)  (Grégory Chazalon <Gregory.Chazalon@advestigo.com>)
List pgsql-jdbc
=?iso-8859-1?Q?Gr=E9gory_Chazalon?= <Gregory.Chazalon@advestigo.com> writes:
> I've encountered a strange behavior of the JDBC driver 8.1.407 with PostgreSQL 8.1.4 (windows platform). I really
suspectthis is a bug inside the driver implementation, that's reason why I write this post.  

Last I heard, the JDBC driver hadn't been taught about dollar quoting at
all, so it's not surprising that a DQ literal within a query would
confuse it.

This ought to get fixed sometime ...

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Grégory Chazalon
Date:
Subject: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)
Next
From: Grégory Chazalon
Date:
Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)