Wiki / Configuration Parameters
max_replication_slots
Specifies the maximum number of replication slots (see Section 26.2.6) that the server can support. The default is 10. This parameter can only be set at server start. Setting it to a lower value than the number of currently existing replication slots will prevent the server from starting. Also, wal_level must be set to replica or higher to allow replication slots to be used.
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
- 10
- category
- Replication / Sending Servers
- context
- postmaster
- doc same as
- Unknown
- documented
- true
- enumvals
- Unknown
- extra desc
- Unknown
- lang
- en
- max val
- 262143
- metadata version
- 18
- min val
- 0
- name
- max_replication_slots
- short desc
- Sets the maximum number of simultaneously defined replication slots.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- integer
Definition PG 18
Specifies the maximum number of replication slots
(see Section 26.2.6) that the server
can support. The default is 10. This parameter can only be set at
server start.
Setting it to a lower value than the number of currently
existing replication slots will prevent the server from starting.
Also, wal_level must be set
to replica or higher to allow replication slots to
be used.
Compare versions
Complete source facts
doc html
<p>
Specifies the maximum number of replication slots
(see <a class="xref" href="/docs/18/warm-standby.html#STREAMING-REPLICATION-SLOTS" title="26.2.6. Replication Slots">Section 26.2.6</a>) that the server
can support. The default is 10. This parameter can only be set at
server start.
Setting it to a lower value than the number of currently
existing replication slots will prevent the server from starting.
Also, <code class="varname">wal_level</code> must be set
to <code class="literal">replica</code> or higher to allow replication slots to
be used.
</p>documentation revision
{"inputs":[{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"c0b8bd86131ec62d4df97ce480d004aa7e3544477d053f0c2d4047b9edad5cc0","version":"18.7"},{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"83907b5f469e979a7b9ec875b5e7bdaa2ef6b85596ca31b45174f68cd7398b18","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:daa9f6b22b70315cf9c475291f4d8a609ec5dea5de512c73476bd4a0a1c6eb77
Text language: en · wiki-repair-20261023:daa9f6b22b70315cf9c475291f4d8a609ec5dea5de512c73476bd4a0a1c6eb77