Wiki / Configuration Parameters
in_hot_standby
Reports whether the server is currently in hot standby mode. When this is on, all transactions are forced to be read-only. Within a session, this can change only if the server is promoted to be primary. See Section 26.4 for more information.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- boot val
- off
- category
- Preset Options
- context
- internal
- documented
- true
- enumvals
- Unknown
- extra desc
- Unknown
- lang
- en
- max val
- Unknown
- metadata version
- 18
- min val
- Unknown
- name
- in_hot_standby
- short desc
- Shows whether hot standby is currently active.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- bool
Definition PG 18
Reports whether the server is currently in hot standby mode. When this is on, all transactions are forced to be read-only. Within a session, this can change only if the server is promoted to be primary. See Section 26.4 for more information.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:379c7b42502ea08c4f1a72630d5a4bba969ad7fd578d09ead7ce7659e9eba3d0
Text language: en · wiki-repair-20261023:379c7b42502ea08c4f1a72630d5a4bba969ad7fd578d09ead7ce7659e9eba3d0