From: Henk Jan Barendregt <henkjan@barendregt.xs4all.nl>
To: pgsql-interfaces@postgresql.org
Subject: [libpq] Return value of int
Date: Sun, 02 May 1999 09:32:52 +0000
Message-ID: <372C1BC4.A71000FD@barendregt.xs4all.nl> (raw)
Hello,
How can i use libpq to return an int value when i access an INT or INT4
value
For example :
result = PQexec (connection,"SELECT integervalue FROM integertable");
I have followed the example nr 3 in the pogrammers guide but i still get
a
char * when i use PQgetvalues
Thanks in advance,
Henk Jan Barendregt
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-interfaces@postgresql.org
Cc: henkjan@barendregt.xs4all.nl
Subject: Re: [libpq] Return value of int
In-Reply-To: <372C1BC4.A71000FD@barendregt.xs4all.nl>
* 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