Wiki / Configuration Parameters
archive_library
The library to use for archiving completed WAL file segments. If set to an empty string (the default), archiving via shell is enabled, and archive_command is used. If both archive_command and archive_library are set, an error will be raised. Otherwise, the specified shared library is used for archiving. The WAL archiver process is restarted by the postmaster when this parameter changes. For more information, see Section 25.3.1 and Chapter 49. This parameter can only be set in the postgresql.conf file or on the server command line.
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
- Unknown
- category
- Write-Ahead Log / Archiving
- context
- sighup
- documented
- true
- enumvals
- Unknown
- extra desc
- An empty string means use "archive_command".
- lang
- en
- max val
- Unknown
- metadata version
- 18
- min val
- Unknown
- name
- archive_library
- short desc
- Sets the library that will be called to archive a WAL file.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- string
Definition PG 18
The library to use for archiving completed WAL file segments. If set to an empty string (the default), archiving via shell is enabled, and archive_command is used. If both archive_command and archive_library are set, an error will be raised. Otherwise, the specified shared library is used for archiving. The WAL archiver process is restarted by the postmaster when this parameter changes. For more information, see Section 25.3.1 and Chapter 49. This parameter can only be set in the postgresql.conf file or on the server command line.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:e4d821bce402f7dbc7da4046c4dd3b16d5e23446e46fe5856e3701a7b53db242
Text language: en · wiki-repair-20261023:e4d821bce402f7dbc7da4046c4dd3b16d5e23446e46fe5856e3701a7b53db242