Doc: improve discussion of race conditions involved in LISTEN.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d3aa114ac4de9ecc558ba77ed5c85e2ad9ad01d4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-11-24T23:03:39Z
Releases: 13.0
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

Files

PathChange+/−
doc/src/sgml/ref/listen.sgml modified +24 −7
src/backend/commands/async.c modified +41 −29

Documentation touched

Discussion