X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id BE7439FB26A for ; Tue, 22 Aug 2006 10:10:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 83816-01 for ; Tue, 22 Aug 2006 10:10:11 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 067A29FB20A for ; Tue, 22 Aug 2006 10:10:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k7MDA67i002212; Tue, 22 Aug 2006 09:10:07 -0400 (EDT) To: =?iso-8859-1?Q?Gr=E9gory_Chazalon?= cc: pgsql-jdbc@postgresql.org Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails to execute (SimpleQuery splitting invalid) In-reply-to: <53F8133C991FEC4BA0872D19BAD9694C3B6A5D@ADV-SBS.advestigo.loc> References: <53F8133C991FEC4BA0872D19BAD9694C3B6A5D@ADV-SBS.advestigo.loc> Comments: In-reply-to =?iso-8859-1?Q?Gr=E9gory_Chazalon?= message dated "Tue, 22 Aug 2006 12:39:56 +0200" Date: Tue, 22 Aug 2006 09:10:06 -0400 Message-ID: <2210.1156252206@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.16 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/95 X-Sequence-Number: 15622 =?iso-8859-1?Q?Gr=E9gory_Chazalon?= 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