On 2019-10-21 08:44, Fujii Masao wrote:
Probably we can use standby mode + recovery target setting for the almost same purpose. In this configuration, if end-of-WAL is reached before recovery target, the startup process keeps waiting for new WAL to be available. Then, if recovery target is reached, the startup process works as recovery_target_action indicates.
So basically get rid of recovery.signal mode and honor recovery target parameters in standby mode? That has some appeal because it simplify this whole space significantly, but perhaps it would be too confusing for end users?
-- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services