From: David Klugmann <dklugmann@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: SELECT statement within libpq
Date: Fri, 30 May 2003 16:02:07 +0000
Message-ID: <Law8-F95BhNAuYPpfnU0003f0b1@hotmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dklugmann@hotmail.com
Subject: Re: SELECT statement within libpq
In-Reply-To: <Law8-F95BhNAuYPpfnU0003f0b1@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox