Event trigger code comment duplication

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Event trigger code comment duplication
Дата
Msg-id CAKFQuwYqHtXpvr2mBJRwH9f+Y5y1GXw3rhbaAu0Dk2MoNevsmA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Event trigger code comment duplication  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Skimming through the code in event_trigger.c and noticed that while most of the stanzas that reference IsUnderPostmaster refer back to the code comment beginning on line 675 the block for table rewrite copied it in verbatim starting at line 842.  The currentEventTriggerState comment at lines 730 and 861 seem to be the same too.




I did also notice a difference with the test on line 861 compared to line 785 though I unable to evaluate whether the absence of a "rewriteList" is expected (there is a "dropList" at 785 ...).

David J.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 13 release notes, first draft
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 13 release notes, first draft