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

Поиск
Список
Период
Сортировка
От Rui DeSousa
Тема Re: Remove mention in docs that foreign keys on partitioned tables arenot supported
Дата
Msg-id 3938060C-D804-4160-8113-1FDF2EA959AD@icloud.com
обсуждение исходный текст
Ответ на Re: Remove mention in docs that foreign keys on partitioned tablesare not supported  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers


On Jun 14, 2018, at 9:19 AM, Robert Haas <robertmhaas@gmail.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
  ; 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Locking B-tree leafs immediately in exclusive mode
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Locking B-tree leafs immediately in exclusive mode