agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Thomas Balzer <tbalzer@tjb.freinet.de>
To: postgres@postgres.Berkeley.EDU
Subject: not null, unique and foreign keys
Date: Sun, 21 Aug 1994 18:57:56 +0200 (MET DST)
Message-ID: <m0qcGDU-0001WhC@tjb.freinet.de> (raw)

Hello everybody,

is there a way to tell Postgres that an attribute in a class is unique or
not null? How to define a foreign key? I can't find anything in the documentation
of Postgres 4.2. I think they used foreign keys for the system tables, aren't they?

Thanks,
--- Thomas

| Thomas Balzer | Hans-Thoma-Strasse 17            | D-79664 Wehr         |
| Germany       | Internet: tbalzer@tjb.freinet.de | Phone: +49-7762-1412 |

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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: postgres@postgres.berkeley.edu
  Cc: tbalzer@tjb.freinet.de
  Subject: Re: not null, unique and foreign keys
  In-Reply-To: <m0qcGDU-0001WhC@tjb.freinet.de>

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

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