Re: pg_receivewal - couple of improvements - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: pg_receivewal - couple of improvements
Date
Msg-id 20220202153527.za4kirfsuu7l2f4z@jrouhaud
Whole thread Raw
In response to pg_receivewal - couple of improvements  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: pg_receivewal - couple of improvements  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
Hi,

On Wed, Feb 02, 2022 at 08:53:13PM +0530, Bharath Rupireddy wrote:
> 
> Here are some improvements we can make to pg_receivewal that were
> emanated after working with it in production environments:
> 
> 1) As a user, I, sometimes, want my pg_receivewal to start streaming
> from the LSN that I provide as an input i.e. startpos instead of it
> calculating the stream start position 1) from its target directory or
> 2) from its replication slot's restart_lsn or 3) after sending
> IDENTIFY_SYSTEM on to the primary.

This is already being discussed (at least part of) as of
https://www.postgresql.org/message-id/flat/18708360.4lzOvYHigE%40aivenronan.



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: pg_receivewal - couple of improvements
Next
From: "David G. Johnston"
Date:
Subject: Re: warn if GUC set to an invalid shared library