SELECT statement within libpq

From: "David Klugmann" <dklugmann(at)hotmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: SELECT statement within libpq
Date: 2003-05-30 16:02:07
Message-ID: Law8-F95BhNAuYPpfnU0003f0b1@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-30 16:30:40 Re: SQL Help
Previous Message C F 2003-05-30 15:47:03 SQL Help