getting attribute names, types - Mailing list pgsql-general

From Surabhi Ahuja
Subject getting attribute names, types
Date
Msg-id CE5C48E227F8ED4990FAC4332100ADC621B50C@EVS.iiitb.ac.in
Whole thread Raw
Responses Re: getting attribute names, types  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
 i have to write a program in C++ using libpq. The program establishes a connection with the desired database.
I have 4 tables in the database. Now i want to get the list of attribute names, their data types for each of those 4 tables. how do i do that?
 
Thanks you
Surabhi Ahuja

pgsql-general by date:

Previous
From: "trilcejf"
Date:
Subject: PRoblems instalation PostgreeSQL8.0.1 in WindowsXP
Next
From: "Ben Trewern"
Date:
Subject: Re: to_char bug?