Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
Дата
Msg-id Pine.BSO.4.64.0705041216340.20762@leary.csoft.net
обсуждение исходный текст
Ответ на error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?  ("B. Jordan" <bujordan@gmail.com>)
Ответы Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
Список pgsql-jdbc

On Fri, 4 May 2007, B. Jordan wrote:

> After digging through the archives and looking at the changelog for
> 8.2-505 and 8.2-504, it seems that $$ should work, but I'm still
> getting errors.
>
> Here's the error message:
> Caused by: org.postgresql.util.PSQLException: ERROR: unterminated
> dollar-quoted string at or near "$BODY$ BEGIN DELETE FROM ..."
>
> Any particular reason I shouldn't be able to execute that with the
> latest version (8.2-505) of the driver?

Are you sure you don't have multiple versions of the driver around and
it's selecting an older version?  The error above is exactly what I'd
expect to see with a pre-8.2 driver.  You could also enable statement
logging on the server to see exactly what the driver is sending to it.

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: connection variables problem
Следующее
От: "Gary Greenberg"
Дата:
Сообщение: How to get sequence info?