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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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