Re: pg_select Equivalent in libpq

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: pg_select Equivalent in libpq
Дата
Msg-id 20010919084314.B2289@feivel.fam-meskes.de
обсуждение исходный текст
Ответ на Re: pg_select Equivalent in libpq  (Christof Petig <christof@petig-baender.de>)
Список pgsql-interfaces
On Tue, Sep 18, 2001 at 05:35:34PM +0200, Christof Petig wrote:
> > How can I achive the same result in libpq?
> 
> I would recommend a cursor. But I don't know how to do that in pq (only
> with ecpg)

Almost the same way, just execute a DECLARE CURSOR statement defining your
select and then issuing FETCH statements to get the data.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Christof Petig
Дата:
Сообщение: Re: pg_select Equivalent in libpq
Следующее
От: Antonio Sergio de Mello e Souza
Дата:
Сообщение: Re: pg_select Equivalent in libpq