SELECT statement within libpq - Mailing list pgsql-sql

From David Klugmann
Subject SELECT statement within libpq
Date
Msg-id Law8-F95BhNAuYPpfnU0003f0b1@hotmail.com
Whole thread Raw
List 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 by date:

Previous
From: C F
Date:
Subject: SQL Help
Next
From: Bruno Wolff III
Date:
Subject: Re: SQL Help