REFERENCES in a field

From: "Fernando M(dot) Maresca" <fmaresca(at)netverk(dot)com(dot)ar>
To: pgsql-novice(at)postgresql(dot)org
Subject: REFERENCES in a field
Date: 2000-10-29 23:36:40
Message-ID: Pine.LNX.4.21.0010292028290.1389-100000@pichuco.lpqlp.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Hi!
When I try to insert a FOREIGN KEY in a field while I'm create a table
with psql in the form:

create table table (
field1 CHAR(10) PRIMARY KEY,
field2 CHAR(10) REFERENCES table0
);

psql returns an error that tells "FOREIGN KEYS not implemented yet".
I'm running Postgres version 6.5.3, which version supports foreign keys?

Thank you,
Fernando

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message The Hermit Hacker 2000-10-30 00:11:15 pgsql-novice list should be live again ...
Previous Message Larry Rosenman 2000-10-29 02:29:06 Re: REFERENCES in a field