Extended Query using the Frontend/Backend Protocol 3.0

From: Raimon Fernandez <coder(at)montx(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Extended Query using the Frontend/Backend Protocol 3.0
Date: 2009-12-17 16:13:20
Message-ID: 20879F35-6940-4272-988E-703E610C6212@montx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces

Hello again,

I'm trying to integrate the extended query protocol with my libraries.

I'm sending a simple SELECT to validate the method, but I'm getting an Invalid Message Format.

50 => P
00 00 00 29 => length
6D7973746174656D656E74 00 => mystatement + null
73656C656374202A2066726F6D206D797461626C653B 00 => select * from mytable; + null
00 00 => number of parameters, zero

any idea ?

thanks and regards,

raimon

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-12-17 16:15:33 Re: Justifying a PG over MySQL approach to a project
Previous Message Gauthier, Dave 2009-12-17 15:55:57 Re: Justifying a PG over MySQL approach to a project

Browse pgsql-interfaces by date

  From Date Subject
Next Message John DeSoi 2009-12-18 01:26:21 Re: Extended Query using the Frontend/Backend Protocol 3.0
Previous Message Michael Meskes 2009-11-24 15:44:04 Re: ecpg & 8.3 -> 8.4 migration