pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lexington Luthor <Lexington.Luthor@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Querying constraints?
Date: Mon, 07 Aug 2006 16:38:37 +0100
Message-ID: <eb7mq1$htu$1@sea.gmane.org> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <eb7mq1$htu$1@sea.gmane.org>
Permalink:  ../eb7mq1$htu$1@sea.gmane.org/
Also on:    postgresql.org/message-id/eb7mq1$htu$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: Lexington.Luthor@gmail.com
  Subject: Re: Querying constraints?
  In-Reply-To: <eb7mq1$htu$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox