The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/16/sql-notify.html Description:
It would be good to add to the notes section that use of NOTIFY especially within a TRIGGER requires an AccessExclusiveLock which may cause performance issues. Old thread for reference: https://www.postgresql.org/message-id/3598.1363354686%40sss.pgh.pa.us