Re: Aggregate function: Different results with jdbc and psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aggregate function: Different results with jdbc and psql
Дата
Msg-id 12441.1223382061@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Aggregate function: Different results with jdbc and psql  (Tilman Rassy <rassy@math.TU-Berlin.DE>)
Список pgsql-jdbc
Tilman Rassy <rassy@math.TU-Berlin.DE> writes:
> I have the following problem: A certain query, i.e.,
> ...
> when I issue it in psql. When I use the same query from JDBC in Java, the
> column "grade" is SQL NULL.

It's hard to believe it's really the "same" query in both cases.  Maybe
you're using parameters in the JDBC case and they're not quite right?
Maybe the Java user has a different search_path or something?

            regards, tom lane

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

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: Aggregate function: Different results with jdbc and psql
Следующее
От: "Wm.A.Stafford"
Дата:
Сообщение: The plan changes when the limit gets above ~850,000