News for hackers. Stuff that matters.
Re:Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQ... by ArielTM on Thursday April 23, 2026 @08:43AM (#47875062)
kqueue/FSEvents is tempting here, but Darwin drops same-process notifications. If you've got a publisher and listener in the same process the listener just never fires. Nasty thing to chase. stat polling looks gross but it's the only thing that actually works everywhere.

What happens on WAL checkpoint? When the file shrinks back, does that trigger a wakeup, or does the poller filter size drops?

Re:Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQ... by russellthehippo on Thursday April 23, 2026 @04:39PM (#47881569)
Actually need to test this. Will report back
Re:Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQ... by xenadu02 on Friday April 24, 2026 @02:56PM (#47894403)
This comment is completely incorrect.

kqueue VNODE events are delivered so long as your process has access to the file. There is no "same-process" notification filter.