pg_basebackup and replication slots - Mailing list pgsql-hackers

From Peter Eisentraut
Subject pg_basebackup and replication slots
Date
Msg-id 555DD2B2.7020000@gmx.net
Whole thread Raw
Responses Re: pg_basebackup and replication slots  (Heikki Linnakangas <hlinnaka@iki.fi>)
Re: pg_basebackup and replication slots  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
I wonder why pg_basebackup doesn't have any support for replication slots.

When relying on replication slots to hang on to WAL data, there is a gap
between when pg_basebackup finishes and streaming replication is started
where WAL data could be thrown away by the primary.

Looking at the code, the -X stream method could easily specify a
replication slot.  (Might be nice if it could also create it in the same
run.)



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.
Next
From: Robert Haas
Date:
Subject: Re: Support for N synchronous standby servers - take 2