Re: Optimize LISTEN/NOTIFY
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: Joel Jacobson <joel@compiler.org>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-07T16:51:20Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Optimize LISTEN/NOTIFY via shared channel map and direct advancement.
- 282b1cde9ded 19 (unreleased) landed
-
Fix incorrect logic for caching ResultRelInfos for triggers
- 39dcfda2d23a 19 (unreleased) cited
Matheus Alcantara <matheusssilv97@gmail.com> writes: > 7. I'm wondering if we could add some TAP tests for this? async.c seems already moderately well covered by existing tests src/test/regress/sql/async.sql src/test/isolation/specs/async-notify.spec Do we need more? If there's something not covered, can we extend those test cases instead of spinning up a whole new installation for a TAP test? Also, I don't think it's the job of this patch to provide test coverage for dshash. That should be quite well covered already. regards, tom lane