pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: David BOURIAUD <david.bouriaud@ac-rouen.fr>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: About primary keys.
Date: Tue, 19 Jun 2001 07:49:18 -0600
Message-ID: <20010619074918.A30985@cc.usu.edu> (raw)
In-Reply-To: <3B2F4128.D9D38897@ac-rouen.fr>
References: <3B2F4128.D9D38897@ac-rouen.fr>

On Tue, Jun 19, 2001 at 02:10:16PM +0200, David BOURIAUD wrote:
> Hi the list !
> Is there a way to get in system tables all the primary keys of a table ?

	There's a recipe that is related to that in my Postgres CookBook that
you could adapt to your needs:

http://www.brasileiro.net/postgres/cookbook/view-one-recipe.adp?recipe_id=36

	-Roberto
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
TAGLINE NO ESPELHO ยค OHLEPSE ON ENILGAT



view thread (9+ messages)  latest in thread

Message-ID: <20010619074918.A30985@cc.usu.edu>
Permalink:  ../20010619074918.A30985@cc.usu.edu/
Also on:    postgresql.org/message-id/20010619074918.A30985@cc.usu.edu

 · 

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: rmello@cc.usu.edu, david.bouriaud@ac-rouen.fr
  Subject: Re: About primary keys.
  In-Reply-To: <20010619074918.A30985@cc.usu.edu>

* 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