Re: Optimize LISTEN/NOTIFY
Matheus Alcantara <matheusssilv97@gmail.com>
From: "Matheus Alcantara" <matheusssilv97@gmail.com>
To: "Tom Lane" <tgl@sss.pgh.pa.us>, "Matheus Alcantara"
<matheusssilv97@gmail.com>
Cc: "Joel Jacobson" <joel@compiler.org>, "pgsql-hackers"
<pgsql-hackers@postgresql.org>
Date: 2025-10-07T21:22:26Z
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
On Tue Oct 7, 2025 at 6:17 PM -03, Tom Lane wrote: > "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. > Yeah, I just saw your response after I sent the email, which I agree with all the points. So I think that we are on the same "page" now. -- Matheus Alcantara