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

From J.V.
Subject how to save primary key constraints
Date
Msg-id 4E94B225.6070501@gmail.com
Whole thread Raw
Responses Re: how to save primary key constraints  (John R Pierce <pierce@hogranch.com>)
Re: how to save primary key constraints  (Joe Abbate <jma@freedomcircle.com>)
Re: how to save primary key constraints  (Ondrej Ivanič <ondrej.ivanic@gmail.com>)
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?