Re: Re: proposal: make NOTIFY list de-duplication optional
Filip Rembiałkowski <filip.rembialkowski@gmail.com>
From: Filip Rembiałkowski <filip.rembialkowski@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>,
Catalin Iacob <iacobcatalin@gmail.com>, David Steele <david@pgmasters.net>
Date: 2019-03-10T10:53:15Z
Lists: pgsql-hackers
Attachments
- postgres-notify-options-20190310_01.patch (text/x-patch) patch
Thank you. Here is my latest attempt, with actual syntax error handling. Also, the syntax is updated to what Tom Lane suggested in other thread (with another variant of the same thing, from Julien Demoor) NOTIFY [ ( option [, ...] ) ] channel [ , payload ] Still no hash table fallback is implemented, so this is *not* a performance improvement. Only a little more flexibility. On Sat, Mar 9, 2019 at 3:31 AM Thomas Munro <thomas.munro@gmail.com> wrote: > > On Fri, Mar 8, 2019 at 1:37 PM Filip Rembiałkowski > <filip.rembialkowski@gmail.com> wrote: > > See attached patch... I'm ready to work on so it can get merged in the next CF. > > Hi Filip, > > Seen on Travis: > > async ... FAILED 126 ms > > Looks like the new error isn't being raised for invalid send mode? > (What kind of error message is "?" anyway? :-)) > > ERROR: channel name too long > -- Should fail. Invalid 3rd parameter > NOTIFY notify_async2, 'test', 'invalid'; > -ERROR: ? > NOTIFY notify_async2, 'test', true; > -ERROR: ? > --Should work. Valid NOTIFY/LISTEN/UNLISTEN commands > NOTIFY notify_async2; > NOTIFY notify_async2, ''; > > -- > Thomas Munro > https://enterprisedb.com
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Use a hash table to de-duplicate NOTIFY events faster.
- bb5ae8f6c416 13.0 landed