类型: | bool |
默认: | on |
上下文: | postmaster |
重新开始: | true |
指定在恢复期间,你是否能够连接并运行查询,如hot-standby中所述。默认值是on
。这个参数只能在服务器启动时设置。它只在归档恢复期间或后备机模式下才有效。
建议 [EN]
Set to “on”, unless you want to specifically prohibit people from running queries on a standby server.
在 StackOverflow
在 pgsql-hackers
- Wrong HINT during database recovery when occur a minimal wal.
- Re: [Patch] Optimize dropping of relation buffers using dlist
- Re: Libpq support to connect to standby server as priority
- Re: Nicer error when connecting to standby with hot_standby=off
- Re: Stronger safeguard for archive recovery not to miss data