Re: [JDBC] JDBC and Binary protocol error, for some statements

Поиск
Список
Период
Сортировка
От Radosław Smogura
Тема Re: [JDBC] JDBC and Binary protocol error, for some statements
Дата
Msg-id 44eac2baff3ace9ad1d2459237eb39ce@smogura-softworks.eu
обсуждение исходный текст
Ответ на Re: [JDBC] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
Список pgsql-hackers
I checked against other parameter bindings and it looks like problem is
connected with oid=0.
In those cases:
1. Executing statement with parameter sent as varchar, int, long, with
text and binary format is ok.
2. Executing statement with oid=0 fail always; I've sent parameter in text
mode (encoded '2'), and in binary mode encoded int4 2 - both failed.

On Thu, 25 Nov 2010 01:56:02 -0800, Maciek Sakrejda
<msakrejda@truviso.com>
wrote:
> Haven't really gotten much further, but an interesting note: the named
> / unnamed prepared statement and portal stuff seems to be a red
> herring. I can add a name to the portal, or move to an unnamed
> prepared statement, and I still see the same thing. Which is
> interesting, since that's not what Radosław saw (his original test
> only failed once named prepared statements kicked in)...
> ---
> Maciek Sakrejda | System Architect | Truviso
>
> 1065 E. Hillsdale Blvd., Suite 215
> Foster City, CA 94404
> (650) 242-3500 Main
> www.truviso.com

--
----------
Radosław Smogura
http://www.softperience.eu

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: GiST insert algorithm rewrite
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Remove useless whitespace at end of lines