Skip site navigation (1) Skip section navigation (2)

Re: help:steps needed to get the content of table from the

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
Cc: "Smitha V(dot) Babu" <smitha(dot)v(at)sonata-software(dot)com>,pgsql-novice(at)postgresql(dot)org
Subject: Re: help:steps needed to get the content of table from the
Date: 2003-06-18 14:19:28
Message-ID: 21294.1055945968@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"A.Bhuvaneswaran" <bhuvan(at)symonds(dot)net> writes:
> Further you could use, 
> 1) PQresultStatus(res)
> 2) PQntuples(res)
> 3) PQnfields(res)
> 4) PQgetvalue(res, n, n)

> For details, please refer the below link:

Also look at the example programs that come with libpq.  In the source
distribution they are in src/test/examples/.  I am not sure whether they
are included in any binary RPMs though, or where the RPMs put them if
they do have 'em ...

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Mel JameroDate: 2003-06-18 14:30:45
Subject: Re: sql question (hopefully)
Previous:From: Tom LaneDate: 2003-06-18 13:46:41
Subject: Re: Commit within a PL/PGSQL procedure

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group