Re: Exception using dollar-quoted string - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Exception using dollar-quoted string
Date
Msg-id 6165.1143223816@sss.pgh.pa.us
Whole thread Raw
In response to Exception using dollar-quoted string  ("Fichtenelch" <hillebra@inf.fu-berlin.de>)
List pgsql-jdbc
"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

pgsql-jdbc by date:

Previous
From: "Fichtenelch"
Date:
Subject: Exception using dollar-quoted string
Next
From: Kris Jurka
Date:
Subject: Re: Exception using dollar-quoted string