pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Grégory Chazalon <Gregory.Chazalon@advestigo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)
Date: Tue, 22 Aug 2006 09:10:06 -0400
Message-ID: <2210.1156252206@sss.pgh.pa.us> (raw)
In-Reply-To: <53F8133C991FEC4BA0872D19BAD9694C3B6A5D@ADV-SBS.advestigo.loc>
References: <53F8133C991FEC4BA0872D19BAD9694C3B6A5D@ADV-SBS.advestigo.loc>

=?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 suspect this 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



view thread (20+ messages)  latest in thread

Message-ID: <2210.1156252206@sss.pgh.pa.us>
Permalink:  ../2210.1156252206@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2210.1156252206@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Gregory.Chazalon@advestigo.com
  Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid)
  In-Reply-To: <2210.1156252206@sss.pgh.pa.us>
  References: <53F8133C991FEC4BA0872D19BAD9694C3B6A5D@ADV-SBS.advestigo.loc> <2210.1156252206@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox