Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Дата
Msg-id 41477610.8070202@opencloud.com
обсуждение исходный текст
Ответ на Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION  (Kris Jurka <books@ejurka.com>)
Ответы Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Список pgsql-jdbc
Kris Jurka wrote:

> Your options seem to be:
>  - don't use dollar quoting
>  - use the 7.4 driver which doesn't try to split queries
>  - teach the driver about dollar quoting

It's a pity the grammar doesn't let you specify the function body as a
parameter, then you could just use a PreparedStatement and avoid the
quoting problems altogether..

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Customizing SSL with jdbc