Re: pg_receivewal - couple of improvements

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_receivewal - couple of improvements
Date: 2022-02-06 06:46:19
Message-ID: Yf9uu4eMyiD36pM5@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 03, 2022 at 10:01:42PM +0800, Julien Rouhaud wrote:
> I don't get it. If you're missing WAL it means that will you have to do that
> tedious manual work to retrieve them no matter what. So on top of that tedious
> work, you also have to make sure that you don't provide a bogus start position.

I may be wrong in saying that, but the primary use case I have seen
for pg_receivewal is a service integration for archiving.

> Maybe that's a good idea but I'm still having a hard time imagining a scenario
> where it would actually be a good idea.

With the defaults that we have now in place (current LSN location,
current slot's location or the archive location), I am not really
convinced that we need more control in this area with the proposed
option.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-02-06 06:49:50 Re: 2022-01 Commitfest
Previous Message Michael Paquier 2022-02-06 06:20:07 Re: Windows now has fdatasync()