From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fichtenelch <hillebra@inf.fu-berlin.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Exception using dollar-quoted string
Date: Fri, 24 Mar 2006 13:10:16 -0500
Message-ID: <6165.1143223816@sss.pgh.pa.us> (raw)
In-Reply-To: <000201c64f61$88342aa0$1530a8c0@hgworkstation0>
References: <000201c64f61$88342aa0$1530a8c0@hgworkstation0>
"Fichtenelch" <hillebra@inf.fu-berlin.de> writes:
> when I'm trying to execute the following command with a java.sql.Statement
> an error occurs:
> CREATE OR REPLACE FUNCTION test(text) RETURNS void AS $$ DECLARE tmp text;
> BEGIN tmp := 'test'; END; $$ LANGUAGE plpgsql;
I'm pretty sure the jdbc driver doesn't understand dollar-quoting yet.
(Patches to fix this would be gratefully accepted no doubt...)
regards, tom lane
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, hillebra@inf.fu-berlin.de
Subject: Re: Exception using dollar-quoted string
In-Reply-To: <6165.1143223816@sss.pgh.pa.us>
References: <000201c64f61$88342aa0$1530a8c0@hgworkstation0> <6165.1143223816@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