Received: from topsystem.de (gate.topsystem.de [194.231.48.129]) by hub.org (8.8.8/8.7.5) with ESMTP id EAA29659 for ; Wed, 29 Apr 1998 04:41:04 -0400 (EDT) Received: from gauss.topsystem.de (meskes@gauss.topsystem.de [172.26.1.3]) by topsystem.de (8.8.8/8.8.5) with ESMTP id KAA12760; Wed, 29 Apr 1998 10:31:59 +0200 Received: (from meskes@localhost) by gauss.topsystem.de (8.8.8/8.8.5) id KAA05842; Wed, 29 Apr 1998 10:35:32 +0200 From: Michael Meskes Message-Id: <199804290835.KAA05842@gauss.topsystem.de> Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes In-Reply-To: <7040.893780515@sss.pgh.pa.us> from Tom Lane at "Apr 28, 98 12:21:55 pm" To: tgl@sss.pgh.pa.us (Tom Lane) Date: Wed, 29 Apr 1998 10:35:31 +0200 (CEST) Cc: pgsql-hackers@postgresql.org (PostgreSQL Hacker) X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Tom Lane writes: > I propose to revise libpq and modify the frontend/backend protocol > to provide the following benefits: > * Provide a clean way of reading multiple results from a single query > string. Among other things, this solves the problem of allowing a > single query to return several result sets with different descriptors. Does this mean I can read in a complete C array with one call? I mean something like this: char emp_name[10][10]; exec sql select name into :emp_name from emp; But then I didn't see anything like this in your examples. Do I have to iterate using PQgetResult then? Michael -- Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH meskes@topsystem.de | Europark A2, Adenauerstr. 20 meskes@debian.org | 52146 Wuerselen Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44 Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10