Binary cursors and arrays

From: <postgres(at)lg(dot)ndirect(dot)co(dot)uk>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Binary cursors and arrays
Date: 2002-11-11 15:09:59
Message-ID: 005a01c28994$66e64f90$1c1d01a3@FGU028
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Patrick Welche 2002-11-11 17:20:23 Re: Will there be tar files of separated interfaces?
Previous Message Llew 2002-11-11 14:54:19 Binary cursors and arrays