agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: oli.sennhauser@fromdual.com
Subject: Delayed replication missing in documentation
Date: Fri, 31 Jul 2026 08:51:15 +0000
Message-ID: <178548787563.1228.7091256507204447634@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/warm-standby.html
Description:
Somewhere here: https://www.postgresql.org/docs/current/warm-standby.html I
would expect a few lines about the possibility of delayed
replication/delayed standby.
After going through all this site I finally ended up googling and found
this:
https://about.gitlab.com/blog/delayed-replication-for-disaster-recovery-with-postgresql/
So, yes PostgreSQL can do delayed replication. But it is hidden here:
https://www.postgresql.org/docs/current/runtime-config-replication.html#GUC-RECOVERY-MIN-APPLY-DELAY
What about adding something like:
26.2.10. Delayed Replication
When streaming replication is used a standby tries to keep up as fast as
possible. But sometime it is desirable for a standby to lag artificially.
The most common use case is to not apply Oops-Queries or to not provide the
most recent data to a specific user group (freemium business model).
This can be achieved with the the configuration:
recovery_min_apply_delay = '4h'
Message-ID: <178548787563.1228.7091256507204447634@wrigleys.postgresql.org>
Permalink: ../178548787563.1228.7091256507204447634@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/178548787563.1228.7091256507204447634@wrigleys.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, oli.sennhauser@fromdual.com
Subject: Re: Delayed replication missing in documentation
In-Reply-To: <178548787563.1228.7091256507204447634@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox