pgsql: Doc: improve discussion of race conditions involved in LISTEN.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: improve discussion of race conditions involved in LISTEN.
Date: 2019-11-24 23:03:47
Message-ID: E1iZ0ux-0000dQ-Hj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: improve discussion of race conditions involved in LISTEN.

The user docs didn't really explain how to use LISTEN safely,
so clarify that. Also clean up some fuzzy-headed explanations
in comments. No code changes.

Discussion: https://postgr.es/m/3ac7f397-4d5f-be8e-f354-440020675694@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d3aa114ac4de9ecc558ba77ed5c85e2ad9ad01d4

Modified Files
--------------
doc/src/sgml/ref/listen.sgml | 31 +++++++++++++++-----
src/backend/commands/async.c | 70 ++++++++++++++++++++++++++------------------
2 files changed, 65 insertions(+), 36 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2019-11-24 23:53:31 pgsql: Use native methods to open input in TestLib::slurp_file on Windo
Previous Message Tom Lane 2019-11-24 20:58:11 pgsql: Avoid assertion failure with LISTEN in a serializable transactio