Function to move the position of a replication slot

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Function to move the position of a replication slot
Date: 2017-05-04 12:05:43
Message-ID: CABUevEwBdWPDXTs_cFy93GESq5JHbmo1v+y-6KWvce0sajLkhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

PFA a patch that adds a new function, pg_move_replication_slot, that makes
it possible to move the location of a replication slot without actually
consuming all the WAL on it.

This can be useful for example to keep replication slots in sync between
different servers in a replication cluster.

(Obviously this is intended for 11, as we're well into the freeze for 10.
Just to be clear. so I'll go add itto the summer commitfest)

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Attachment Content-Type Size
pg_move_replication_slot.patch text/x-patch 4.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rajkumar Raghuwanshi 2017-05-04 12:39:28 Re: Adding support for Default partition in partitioning
Previous Message Heikki Linnakangas 2017-05-04 11:48:56 Re: Error message on missing SCRAM authentication with older clients