Re: pg_trigger.tgparentid
От | Amit Langote |
---|---|
Тема | Re: pg_trigger.tgparentid |
Дата | |
Msg-id | CA+HiwqHCcE57ARm0ZtU5nDg7VZgBTf8BU1hn7H7Om7h7wserVg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_trigger.tgparentid (Amit Langote <amitlangote09@gmail.com>) |
Ответы |
Re: pg_trigger.tgparentid
|
Список | pgsql-hackers |
On Tue, Feb 18, 2020 at 1:11 PM Amit Langote <amitlangote09@gmail.com> wrote: > On Tue, Feb 18, 2020 at 6:56 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > @@ -16541,7 +16493,7 @@ CloneRowTriggersToPartition(Relation parent, > Relation partition) > * > * However, if our parent is a partitioned relation, there might be > > This is existing text, but should really be: > > However, if our parent is a *partition* itself, there might be > > (Sorry, I forgot to report this when the bug-fix went in couple months ago.) > > * internal triggers that need cloning. In that case, we must skip > - * clone it if the trigger on parent depends on another trigger. > + * cloning it if the trigger on parent depends on another trigger. > > 2nd sentence seems unclear to me. Does the following say what needs > to be said here: > > * However, if our parent is a partition itself, there might be > * internal triggers that need cloning. For example, triggers on the > * parent that were in turn cloned from its own parent are marked > * internal, which too must be cloned to the partition. Or: * However, if our parent is a partition itself, there might be * internal triggers that must not be skipped. For example, triggers * on the parent that were in turn cloned from its own parent are * marked internal, which must be cloned to the partition. Thanks, Amit
В списке pgsql-hackers по дате отправления: