Re: Exception using dollar-quoted string

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Fichtenelch" <hillebra(at)inf(dot)fu-berlin(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Exception using dollar-quoted string
Date: 2006-03-24 18:10:16
Message-ID: 6165.1143223816@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Fichtenelch" <hillebra(at)inf(dot)fu-berlin(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-03-24 18:29:14 Re: Exception using dollar-quoted string
Previous Message Fichtenelch 2006-03-24 16:39:33 Exception using dollar-quoted string