how to save primary key constraints - Mailing list pgsql-general

I need to be able to query for all primary keys and save the table name
and the name of the primary key field into some structure that I can
iterate through later.

How would I go about this?  I want to hard code the number of tables and
be able to iterate through some structure to get the table name and the
primary key field.

Regards,

J.V.

pgsql-general by date:

Previous
From: salah jubeh
Date:
Subject: Re: libpq 8.3 and 8.4 interfaces
Next
From: Raymond O'Donnell
Date:
Subject: Re: how to call a stored function from another stored function? even possible?