Re: pg_rewind: Skip log directory for file type check like pg_wal - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pg_rewind: Skip log directory for file type check like pg_wal
Date
Msg-id DC3F7C53-C8EF-4803-B70A-0AFB2FBFD0C3@yesql.se
Whole thread Raw
In response to Re: pg_rewind: Skip log directory for file type check like pg_wal  (Alexander Kukushkin <cyberdemn@gmail.com>)
List pgsql-hackers
> On 7 Mar 2023, at 08:33, Alexander Kukushkin <cyberdemn@gmail.com> wrote:

> The "log_directory" GUC must be examined on both, source and target.

Agreed, log_directory must be resolved to the configured values.  Teaching
pg_rewind about those in case they are stored in $PGDATA sounds like a good
idea though.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
Next
From: Peter Smith
Date:
Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher