Thread: Re: Since what version are foreign key constraints implemented in postgresql?

yeti218@hotmail.com wrote:
> I am using postgresql on an older version of debian linux.
> I think my postgresql version is 6.?
> Every thime I try to use foreign key constraints it start to complain
> that foreign keys are not implemented so ignored. But still it seems
> to know that foreign keys exist.
>
> What version do I need at the least to be able to use REFERENCES or
> CONSTRAINT bla FOREIGN KEY(id) REFERENCES bla2?

PostgreSQL 7.0 (released 2000-05-08) was the first to support foreign
keys. If you can, of course, upgrade all the way to 7.2.