recovery.conf 文件整合到 postgresql.conf
    PostgreSQL 11 及以下版本使用配置文件名为 recovery.conf ,以管理复制和备机。
    关于此命令的支持在PostgreSQL 12被移除。此变更的详细信息请参见the release notes for PostgreSQL 12。
   
    在PostgreSQL 12 及以上版本,archive recovery, streaming replication, and PITR使用normal server configuration parameters进行配置。
    这些在postgresql.conf中设置或像其他参数一样通过ALTER SYSTEM进行设置。
   
    如果recovery.conf 存在则服务器不会启动。
   
    The
    trigger_file
    
    设置被重命名为 promote_trigger_file。
   
    The
    standby_mode
    
    设置已经被移除。数据目录中的standby.signal 文件用于替代它。详请参见Standby Server Operation。