Re: Rename of triggers for partitioned tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Rename of triggers for partitioned tables
Дата
Msg-id 202107221733.lnopatzhx3zt@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Rename of triggers for partitioned tables  (Arne Roland <A.Roland@index.de>)
Ответы Re: Rename of triggers for partitioned tables
Re: Rename of triggers for partitioned tables
Список pgsql-hackers
On 2021-Jul-22, Arne Roland wrote:

> Since it is sort of the same problem, I think it might be worthwhile
> to address it as well within this patch. Adding two to four ereports
> doesn't sound like scope creeping to me, even though it touches
> completely different code. I'll look into that as well.

I don't understand what you mean.  But here's an updated patch, with the
following changes

1. support for ONLY is removed, since evidently the only thing it is
good for is introduce inconsistencies

2. recursion to partitioned tables always occurs; no more conditionally
on relation->inh.  This is sensible because due to point 1 above, inh
can no longer be false.

3. renaming a trigger that's not topmost is forbidden.

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/

Вложения

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

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: Delegating superuser tasks to new security roles (Was: Granting control of SUSET gucs to non-superusers)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Rename of triggers for partitioned tables