Improve comment about GetWALAvailability's WALAVAIL_REMOVED code.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Jan 2023 23:41:08 +0000 (18:41 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Jan 2023 23:41:08 +0000 (18:41 -0500)
Sirisha Chamarthi and Kyotaro Horiguchi

Discussion: https://postgr.es/m/CAKrAKeXt-=bgm=d+EDmcC9kWoikp8kbVb3LH0K3K+AGGsykpHQ@mail.gmail.com

src/backend/access/transam/xlog.c

index 8f47fb7570099208817c9a66d3b0eb43ac509dd9..cc0d9a05d9fd886029fd3e8223761418bb91a680 100644 (file)
@@ -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.
  */