Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes

From: Michael Meskes <meskes(at)topsystem(dot)de>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker)
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date: 1998-04-29 08:35:31
Message-ID: 199804290835.KAA05842@gauss.topsystem.de (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
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(at)topsystem(dot)de                    | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

In response to

pgsql-hackers by date

Next:From: Michael MeskesDate: 1998-04-29 08:47:44
Subject: ANSI error messages
Previous:From: Sbragion DenisDate: 1998-04-29 07:05:07
Subject: Re: [INTERFACES] Access'97 and ODBC

pgsql-interfaces by date

Next:From: Byron NikolaidisDate: 1998-04-29 13:31:25
Subject: Re: [INTERFACES] Access'97 and ODBC
Previous:From: Sbragion DenisDate: 1998-04-29 07:05:07
Subject: Re: [INTERFACES] Access'97 and ODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group