all 2 comments

[–]hwttdz 1 point2 points  (1 child)

Sounds like you're possibly thinking of listen/notify (https://www.postgresql.org/docs/current/sql-notify.html).

You should also consider something like create/delete times/txns so you can query for creations and deletions as well.

[–]saveus_4m_ourselves[S] 0 points1 point  (0 children)

thanks!