From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: milist ujang <ujang.milist@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: does postgres has snapshot standby feature?
Date: Fri, 14 Oct 2022 15:08:43 +0200
Message-ID: <Y0lfW9Ro9O8aXeQX@squirrel.exwg.net> (raw)
In-Reply-To: <CACG9ogw15tATEvZxVwma9v-3AP1uQ2-UUuQ9oFJvmU0T+xtyBg@mail.gmail.com>
References: <CACG9ogw15tATEvZxVwma9v-3AP1uQ2-UUuQ9oFJvmU0T+xtyBg@mail.gmail.com>
## milist ujang (ujang.milist@gmail.com):
> read about removing standby.signal file behavior in pg14 from
> https://dbaclass.com/article/how-to-open-postgres-standby-database-for-read-writesnapshot-standby/
That article is fractally wrong, and that starts right in the first
sentence. See
https://www.postgresql.org/docs/15/functions-info.html#FUNCTIONS-PG-SNAPSHOT
(not getting into detail discussions, but still).
Anyhow, the article does not discuss requirements and limitations of
pg_rewind, and promotes unsafe practices. After reading this article,
I'd be more than careful with anything else published by that source.
> I was shocked about the hidden feature of snapshot standby, does it really
> exist?
It's not an official feature. There's a limited amount of thing you can
get away with when breaking and rewinding replication, but the guarantees
on those are rather weak.
Regards,
Christoph
--
Spare Space.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: cmt@burggraben.net, ujang.milist@gmail.com
Subject: Re: does postgres has snapshot standby feature?
In-Reply-To: <Y0lfW9Ro9O8aXeQX@squirrel.exwg.net>
References: <CACG9ogw15tATEvZxVwma9v-3AP1uQ2-UUuQ9oFJvmU0T+xtyBg@mail.gmail.com> <Y0lfW9Ro9O8aXeQX@squirrel.exwg.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox