Re: PGresult

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: PGresult
Дата
Msg-id
Pine.LNX.4.21.0006191811140.353-100000@localhost.localdomain
Ответ на
PGresult (Vladimir V. Zolotych)
Список
Дерево обсуждения
PGresult "Vladimir V. Zolotych" <gsmith@eurocom.od.ua>
Re: PGresult Peter Eisentraut <peter_e@gmx.net>
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@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


В списке pgsql-admin по дате отправления
От: Mini-Me
Дата:
Сообщение: Re: RE:
От: Rodney McDuff
Дата:
Сообщение: Re: users & groups
FAQ