SELECT statement within libpq
SELECT statement within libpq
От:
"David Klugmann" <dklugmann@hotmail.com>
Дата:
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