Re: [JDBC] JDBC and Binary protocol error, for some statements - Mailing list pgsql-hackers

From Radosław Smogura
Subject Re: [JDBC] JDBC and Binary protocol error, for some statements
Date
Msg-id 44eac2baff3ace9ad1d2459237eb39ce@smogura-softworks.eu
Whole thread Raw
In response to Re: [JDBC] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: GiST insert algorithm rewrite
Next
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Remove useless whitespace at end of lines