From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "Vladimir V(dot) Zolotych" <gsmith(at)eurocom(dot)od(dot)ua> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: PGresult |
Date: | 2000-06-19 16:15:24 |
Message-ID: | Pine.LNX.4.21.0006191811140.353-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Vladimir V. Zolotych writes:
> Is it possible to have one PGresul inside another PGresult?
> E.g. having some small PGresult while another (big) PGresult
> still active?
>
> PGresult* res1 = PQexec (,,,)
> for (...............) {
> // do some processing with res1.
> PGresult* res2 = PQexec (...);
> // Process res2.
> PQclear (res2);
> // return back to res1
> }
res1 and res2 are completely independent, you can use both as long and
often as you want. Not sure how you want to "include" one in the other
though.
--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
From | Date | Subject | |
---|---|---|---|
Next Message | Rodney McDuff | 2000-06-20 00:34:39 | Re: users & groups |
Previous Message | Mini-Me | 2000-06-19 15:49:52 | Re: RE: |