X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 19EBE9FB25F for ; Mon, 7 Aug 2006 12:45:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 02591-03 for ; Mon, 7 Aug 2006 15:45:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id E01DB9FB225 for ; Mon, 7 Aug 2006 12:45:18 -0300 (ADT) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GA7Hq-0004qV-63 for pgsql-sql@postgresql.org; Mon, 07 Aug 2006 17:45:02 +0200 Received: from bb-82-108-13-253.ukonline.co.uk ([82.108.13.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Aug 2006 17:45:02 +0200 Received: from Lexington.Luthor by bb-82-108-13-253.ukonline.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Aug 2006 17:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: Lexington Luthor Subject: Querying constraints? Date: Mon, 07 Aug 2006 16:38:37 +0100 Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bb-82-108-13-253.ukonline.co.uk User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/65 X-Sequence-Number: 26023 Hi, Is is possible to query from my application whether there is a primary key or unique constraint on a given table and field name(s)? Thanks LL