how do I get the primary key

From: "Rick Gigger" <rgigger(at)leadership-solutions(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: how do I get the primary key
Date: 2004-01-09 21:03:55
Message-ID: 002d01c3d6f4$18074600$0700a8c0@trogdor
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am creating a script to dump a postgres database into a sqlite database.
I need to know how to find out programattically what fields are in the
primary key of a given table. Is this possible in postgres?

Thanks,

Rick

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2004-01-09 21:05:49 Re: no space left on device
Previous Message scott.marlowe 2004-01-09 21:03:40 Re: no space left on device