agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: contact@ophir.dev
Subject: the docs for NOTIFY do not mention the global lock that NOTIFY takes
Date: Fri, 11 Jul 2025 08:41:21 +0000
Message-ID: <175222328116.3157497.2260121997954044239@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/sql-notify.html
Description:
The authors of the following article got stuck and had to read postgres'
source code to realize that NOTIFY takes a global instance lock:
https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
https://news.ycombinator.com/item?id=44490510
It may be useful to mention that in
https://www.postgresql.org/docs/current/sql-notify.html
Message-ID: <175222328116.3157497.2260121997954044239@wrigleys.postgresql.org>
Permalink: ../175222328116.3157497.2260121997954044239@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/175222328116.3157497.2260121997954044239@wrigleys.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, contact@ophir.dev
Subject: Re: the docs for NOTIFY do not mention the global lock that NOTIFY takes
In-Reply-To: <175222328116.3157497.2260121997954044239@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox