From: Michael Meskes <meskes@topsystem.de>
To: tgl@sss.pgh.pa.us
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date: Wed, 29 Apr 1998 10:35:31 +0200 (CEST)
Message-ID: <199804290835.KAA05842@gauss.topsystem.de> (raw)
In-Reply-To: <7040.893780515@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: meskes@topsystem.de, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
In-Reply-To: <199804290835.KAA05842@gauss.topsystem.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox