Event trigger code comment duplication - Mailing list pgsql-hackers

From David G. Johnston
Subject Event trigger code comment duplication
Date
Msg-id CAKFQuwYqHtXpvr2mBJRwH9f+Y5y1GXw3rhbaAu0Dk2MoNevsmA@mail.gmail.com
Whole thread Raw
Responses Re: Event trigger code comment duplication
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PG 13 release notes, first draft
Next
From: Bruce Momjian
Date:
Subject: Re: PG 13 release notes, first draft