Re: Problems with semicolon trying to create a trigger function via jdbc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with semicolon trying to create a trigger function via jdbc
Дата
Msg-id 24158.1269550822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems with semicolon trying to create a trigger function via jdbc  (Collin Peters <cpeters@intouchtechnology.com>)
Список pgsql-jdbc
Collin Peters <cpeters@intouchtechnology.com> writes:
> I have some framework code that needs to dynamically generate a
> function.� There seems to be a problem where the SQL gets truncated at
> the first semicolon encountered in the function.� I have tried this
> with a very simple function and duplicated it.

Not really an expert, but there are some versions of the jdbc driver
that don't understand dollar-quoted strings --- try using more
conventional quoting and see if it works.

            regards, tom lane

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

Предыдущее
От: Collin Peters
Дата:
Сообщение: Problems with semicolon trying to create a trigger function via jdbc
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Problems with semicolon trying to create a trigger function via jdbc