SELECT statement within libpq

Поиск
Список
Период
Сортировка
От David Klugmann
Тема SELECT statement within libpq
Дата
Msg-id Law8-F95BhNAuYPpfnU0003f0b1@hotmail.com
обсуждение исходный текст
Список pgsql-sql
Hi

I'm knew to postgres and I got my first C postgres connection working from 
the examples in the documentation.

In that it does a BEGIN and a DECLARE CURSOR FOR SELECT et.c. This seems a 
long way to go about getting back data each time.

Is it not possible to just do a straight select and not a transaction and a 
cursor ?

Also does anyone have any generic routines for handling results of all types 
of select.

Many thanks

David

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



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

Предыдущее
От: C F
Дата:
Сообщение: SQL Help
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: SQL Help