Received: from Main.eurocom.od.ua (root@Main.EuroCom.Od.UA [212.15.128.6]) by hub.org (8.10.1/8.10.1) with ESMTP id e5I5qAM16905 for ; Sun, 18 Jun 2000 01:52:10 -0400 (EDT) Received: from eurocom.od.ua (FarHost.EuroCom.Od.UA [212.15.128.42]) by Main.eurocom.od.ua (8.10.0/8.10.0) with ESMTP id e5I5q0A18916 for ; Sun, 18 Jun 2000 08:52:01 +0300 Message-ID: <394C63B3.BFEF268F@eurocom.od.ua> Date: Sun, 18 Jun 2000 08:52:51 +0300 From: "Vladimir V. Zolotych" X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: PGresult Content-Type: multipart/alternative; boundary="------------43B245AD2D5E2292673CB83D" X-Archive-Number: 200006/107 --------------43B245AD2D5E2292673CB83D Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Hello All, 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 } Thanks! -- Vladimir Zolotych gsmith@eurocom.od.ua --------------43B245AD2D5E2292673CB83D Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 7bit     Hello All,
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
}

Thanks!
 

-- 
Vladimir Zolotych                         gsmith@eurocom.od.ua
  --------------43B245AD2D5E2292673CB83D--