pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: patrick.jacquot@anpe.fr
To: liste SQL <pgsql-sql@postgresql.org>
Subject: referencing oid impozsible ?
Date: Tue, 11 Sep 2001 16:58:35 +0200
Message-ID: <3B9E269B.B56278F6@anpe.fr> (raw)

hello all
I tried recently (pgsql 7.1.2) to establish the oid of one table as foreign key
in another. 
To no avail : there was no uniqueness constraint on that column
Naturally, it seems impossible to add a uniqueness constraint to such a system
column.
As far as i know, the oid is by nature unique, excepting for the case of
wrapping of their sequence.
Is there any workaround ?



view thread (3+ messages)  latest in thread

Message-ID: <3B9E269B.B56278F6@anpe.fr>
Permalink:  ../3B9E269B.B56278F6@anpe.fr/
Also on:    postgresql.org/message-id/3B9E269B.B56278F6@anpe.fr

 · 

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: patrick.jacquot@anpe.fr
  Subject: Re: referencing oid impozsible ?
  In-Reply-To: <3B9E269B.B56278F6@anpe.fr>

* 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