Re: BUG? res.next() == false, but psql finds tuples?

Поиск
Список
Период
Сортировка
От Palle Girgensohn
Тема Re: BUG? res.next() == false, but psql finds tuples?
Дата
Msg-id 33BB4E111EB7BD3E8DC36536@palle.girgensohn.se
обсуждение исходный текст
Ответ на Re: BUG? res.next() == false, but psql finds tuples?  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: BUG? res.next() == false, but psql finds tuples?  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
--On lördag, april 23, 2005 10.10.28 +1200 Oliver Jowett
<oliver@opencloud.com> wrote:

> Dave Cramer wrote:
>> Certainly looks like a bug, in the java version mango is not quoted so
>> pg thinks it is a column.
>>
>> Although I just checked the test cases and we do this all the time ???
>
> The (lack of) quoting is a red herring, it's just how our
> PreparedStatement.toString() is implemented. The actual query sent uses
> $1/$2 as you can see in the tcpdump.

Is there a way to mimic this behaviour, i.e. using a prepared statement
with $1/$2, in psql?

/Palle


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

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: Threading problem
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: BUG? res.next() == false, but psql finds tuples?