Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D15024772CD for ; Fri, 15 Nov 2002 12:43:47 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id ACBF0479280 for ; Fri, 15 Nov 2002 12:27:46 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 97DDF43A436; Fri, 15 Nov 2002 12:27:46 -0500 (EST) From: "Llew" X-Newsgroups: comp.databases.postgresql.interfaces Subject: Binary cursors and arrays Date: Mon, 11 Nov 2002 14:54:19 -0000 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 19 Message-ID: Reply-To: "Llew" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/35 X-Sequence-Number: 3283 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