Re: Exception using dollar-quoted string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Exception using dollar-quoted string
Дата
Msg-id 6165.1143223816@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Exception using dollar-quoted string  ("Fichtenelch" <hillebra@inf.fu-berlin.de>)
Список 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 по дате отправления:

Предыдущее
От: "Fichtenelch"
Дата:
Сообщение: Exception using dollar-quoted string
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Exception using dollar-quoted string