Re: why it doesn't work? referential integrity

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Janning Vygen" <vygen(at)planwerk6(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: why it doesn't work? referential integrity
Date: 2007-08-17 15:53:57
Message-ID: 162867790708170853mab4303ftaa06836de265fbe5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> looks strange to me too, but i never had foreign keys to the same table.
> it works if you define your chekced_by FK deferrable with
>
> checked_by INT REFERENCES users (id) ON UPDATE CASCADE ON DELETE SET NULL
> DEFERRABLE INITIALLY DEFERRED,
>
> it seams that postgresql does its job in a procedural way instead of
> relational.
>

It is solved. It was PostgreSQL bug repaired
http://archives.postgresql.org/pgsql-committers/2007-08/msg00207.php
Thank you
nice a day
Pavel Stehule

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2007-08-17 15:58:05 FInding "corrupt" values in UTF-8 tables (regexp question, I think)
Previous Message Carlos Ortíz 2007-08-17 15:50:19 Re: Help with this query (some join stuff I think)