Handle distributed commit WAL records for various recovery features
To allow experimentation of various Postgres recovery features, we must handle distributed commit WAL records similarly to commit and commit prepared WAL records. This will allow the standby master segment to utilize the recovery features. The mirror segments already get handled since they use the regular commit and commit prepared WAL records. With this change, the standby master segment will be able to properly output a value for a pg_last_xact_replay_timestamp() call (while in hot standby), have delayed WAL replay, and use PITR/archive recovery settings such as recovery_target_time and recovery_target_xid.
Showing
想要评论请 注册 或 登录