Re: JDBC rewriting a bad query?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC rewriting a bad query?
Дата
Msg-id Pine.BSO.4.64.0803180144470.13574@leary.csoft.net
обсуждение исходный текст
Ответ на JDBC rewriting a bad query?  ("Woody Woodring" <george.woodring@iglass.net>)
Ответы Re: JDBC rewriting a bad query?  ("Woody Woodring" <george.woodring@iglass.net>)
Список pgsql-jdbc

On Mon, 17 Mar 2008, Woody Woodring wrote:

> I have an issue that I am trying to understand.  We had an issue where we
> had a query with a syntax error, but we would not get any errors in the log
> files.  It turns out that the query was being shortened by the time it got
> to the server and not causing an error.  The version of jdbc driver we are
> running is 8.2-507

Are you sure you are running 8.2-507?  This bug was fixed early in the 8.2
series:

Version 8.2-dev501 (2006-02-09):

When performing replace processing we must continue processing until we
hit the end of a user supplied query, not just once we've detected the end
of a valid query. Consider the example: SELECT a FROM t WHERE (1>0)) ORDER
BY a; We must send the whole query to the backend, not just the section
before the last closing parenthesis. (jurka) Thanks to Senden Kris.

Kris Jurka

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

Предыдущее
От: robert engels
Дата:
Сообщение: Re: setQueryTimeout problem !?!?!
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: setQueryTimeout problem !?!?!