Binary cursors and arrays - Mailing list pgsql-interfaces

From Llew
Subject Binary cursors and arrays
Date
Msg-id ar3aqi$149$1@news.hub.org
Whole thread Raw
List pgsql-interfaces
I am trying to retrieve data using a binary cursor using libpq but I cannot
seem to find where the data is stored:

I execute the following

create temp table t_1( a integer[]);
copy t_1 from stdin;
{8}
\.
begin;
declare c_1 binary cursor from select * from t_1;
fetch from c_1;

The first four bytes seem to show the dimensions of the array. How do I get
at the data>
Thanks
Leo




pgsql-interfaces by date:

Previous
From:
Date:
Subject: Binary cursors and arrays
Next
From: "frank_lupo"
Date:
Subject: sorry for error link psqlvbs