On Jan 9, 2026 at 10:04 AM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote: > Why do we need to send a "done" message to the receiver here? > Since delivery isn't guaranteed in immediate mode, it seems of limited > value.
It seems to me that it is better to send a message in cases where it is possible, soas notto raiseerrorsonthe subscriberduringa cleanshutdown. And when this is not possible, exit the process without waiting. > For the immediate mode, would it make sense to log that the walsender is > terminating in immediate mode and that WAL replication may be incomplete, > so users can more easily understand what happened? Added to the latest patch. Regards, Andrey Silitskiy
