diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-01-19 18:41:08 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-01-19 18:41:08 -0500 |
commit | 1ca604c2018456f2da357d944e0f03c3efaeb00d (patch) | |
tree | a1c3a61c7606a4b32326b2bf18916ca6317f6b3a /src/backend/access/transam/xlog.c | |
parent | 5a617d75d3b31414f378dd764a11db1a08fa79bb (diff) | |
download | postgresql-1ca604c2018456f2da357d944e0f03c3efaeb00d.tar.gz postgresql-1ca604c2018456f2da357d944e0f03c3efaeb00d.zip |
Improve comment about GetWALAvailability's WALAVAIL_REMOVED code.
Sirisha Chamarthi and Kyotaro Horiguchi
Discussion: https://postgr.es/m/CAKrAKeXt-=bgm=d+EDmcC9kWoikp8kbVb3LH0K3K+AGGsykpHQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 8f47fb75700..cc0d9a05d9f 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7338,7 +7338,8 @@ CreateRestartPoint(int flags) * above. * * * WALAVAIL_REMOVED means it has been removed. A replication stream on - * a slot with this LSN cannot continue after a restart. + * a slot with this LSN cannot continue. (Any associated walsender + * processes should have been terminated already.) * * * WALAVAIL_INVALID_LSN means the slot hasn't been set to reserve WAL. */ |