pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Huub <v.niekerk@freeler.nl>
To: pgsql-sql@postgresql.org
Subject: primary + foreign key
Date: Thu, 12 Dec 2002 09:29:29 +0100
Message-ID: <at9hdh$1jid$1@news.hub.org> (raw)

Hi,

I want to create a table where the 2 columns are both primary as well as 
foreign key. What is the correct syntax for that?

Thanks

Huub




view thread (7+ messages)  latest in thread

Message-ID: <at9hdh$1jid$1@news.hub.org>
Permalink:  ../at9hdh$1jid$1@news.hub.org/
Also on:    postgresql.org/message-id/at9hdh$1jid$1@news.hub.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: v.niekerk@freeler.nl
  Subject: Re: primary + foreign key
  In-Reply-To: <at9hdh$1jid$1@news.hub.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