Re: Trigger violates foreign key constraint - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Trigger violates foreign key constraint
Date
Msg-id CAJ7c6TOe5KfmkhkBi48LqL3otQ_rkn4P=xCt6oVci_rP6+Sukg@mail.gmail.com
Whole thread Raw
In response to Re: Trigger violates foreign key constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Trigger violates foreign key constraint
List pgsql-hackers
Hi,

> Laurenz Albe <laurenz.albe@cybertec.at> writes:
> > Patch v3 is attached.
>
> I agree with documenting this hazard, but I think it'd be better
> to do so in the "Triggers" chapter.  There is no hazard unless
> you are writing user-defined triggers, which is surely far fewer
> people than use foreign keys.  So I suggest something like the
> attached.

I don't mind changing the chapter, but I prefer the wording chosen in
v3. The explanation in v4 is somewhat hard to follow IMO.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: plenty code is confused about function level static
Next
From: Marcel Hofstetter
Date:
Subject: Re: Solaris tar issues, or other reason why margay fails 010_pg_basebackup?