Re: Warnings

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Warnings
Дата
Msg-id 40A5B773.4030604@opencloud.com
обсуждение исходный текст
Ответ на Warnings  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
Список pgsql-jdbc
Jeffrey Melloy wrote:
> When I attempt to pull the warning from a statement, and display it on
> the web, I'm getting some garbage at the beginning and end:
>
> SNOTICEC00000MQuery contains only stopword(s) or doesn't contain
> lexem(s), ignoredFrewrite.cL249Rclean_fakeval_v2
>
> While psql just gives "Notice: Query contains only stopwords or doesn't
> contain lexem(s), ignored
>
> Any help would be appreciated.

The "garbage" is the raw server-provided string for a 7.4 notification.
The latest 7.4 driver should turn this into a human-readable form when
creating SQLWarnings. This change went into CVS on Feb 16, so any driver
earlier than that will show the behaviour above. I suggest you upgrade
to the latest binary driver (build 213 on jdbc.postgresql.org) or
rebuild the driver from current CVS yourself.

-O

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Are there any compatibility problem with using pg74jdbc3.jar
Следующее
От: postgres@nitwit.de
Дата:
Сообщение: IPv6 connection / JDBC (?)