Re: Remove mention in docs that foreign keys on partitioned tables are not supported

From: Rui DeSousa <rui(dot)desousa(at)icloud(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove mention in docs that foreign keys on partitioned tables are not supported
Date: 2018-06-14 15:39:05
Message-ID: 3938060C-D804-4160-8113-1FDF2EA959AD@icloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Jun 14, 2018, at 9:19 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> anyone who wants a BEFORE trigger has a good reason
> for wanting it.

I have used before triggers to enforce the immutability of a column.

i.e.

if (new.member_key != old.member_key) then
raise exception 'Unable to change member_key, column is immutable';
end if
;

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2018-06-14 15:40:44 Re: Locking B-tree leafs immediately in exclusive mode
Previous Message Peter Geoghegan 2018-06-14 15:31:36 Re: Locking B-tree leafs immediately in exclusive mode