From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jeff.janes@gmail.com
Subject: BUG #15591: pg_receivewal does not honor replication slots
Date: Fri, 11 Jan 2019 16:52:42 +0000
Message-ID: <15591-3d988c14166018a6@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15591
Logged by: Jeff Janes
Email address: jeff.janes@gmail.com
PostgreSQL version: 11.1
Operating system: all
Description:
When you invoke pg_receivewal using --slot to give it the name of an
existing slot which has WAL reserved, and -D pointing to an empty directory,
it fast-forwards the slot's LSN reservation to the beginning of the most
recent WAL file on the server, and starts streaming from there. Rather than
streaming from the LSN reservation point.
Does this not utterly destroy the main point of using slots? If I didn't
want to ensure a gapless WAL stream, why use slots in the first place?
I've tested in v11, but I think it is across all versions.
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-bugs@postgresql.org
Cc: noreply@postgresql.org, jeff.janes@gmail.com
Subject: Re: BUG #15591: pg_receivewal does not honor replication slots
In-Reply-To: <15591-3d988c14166018a6@postgresql.org>
References: <15591-3d988c14166018a6@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox