Re: [GENERAL] resultset metadata libpq

2010-07-27 Thread Ravi Katkar
From: Ravi Katkar Sent: Tuesday, July 27, 2010 5:45 PM To: 'pgsql-general@postgresql.org'; 'pgsql-o...@postgresql.org' Subject: resultset metadata libpq Hi List, I am using libpq c api to connect postgresql server. I wanted to retrieve the below metadata inform

[GENERAL] resultset metadata libpq

2010-07-27 Thread Ravi Katkar
Hi List, I am using libpq c api to connect postgresql server. I wanted to retrieve the below metadata information for a column from resultset. Column name, ( PQfname ) type, (PQftype ) precision, ( ?) scale, (?) nullability(?) Thanks in advance Regards, Ravi Katkar