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-07T21:17:36Z
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: > On Tue Oct 7, 2025 at 1:51 PM -03, Tom Lane wrote: >> 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. > When I was mentioning to test that we can grow the dshash correctly it's > because the v9 patch has a logic to grow the array stored on dshash > entry value that currently is not being cover by the tests. I'm not > saying to test the dshash internal logic which I agree that it's not the > job of this patch. Sorry for being confusing. Ah, yeah, I misunderstood what you meant. I agree that covering that "Grow the array" stanza is a good idea, in fact I said the same thing a little bit ago. regards, tom lane