getting attribute names, types

From: "Surabhi Ahuja " <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>
To: <pgsql-general(at)postgresql(dot)org>
Subject: getting attribute names, types
Date: 2005-03-03 09:31:10
Message-ID: CE5C48E227F8ED4990FAC4332100ADC621B50C@EVS.iiitb.ac.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2005-03-03 09:39:27 Re: [Auth] "ident" method and LDAP user accounts
Previous Message Florian G. Pflug 2005-03-03 09:04:32 Re: [Auth] "ident" method and LDAP user accounts