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