Re: BUG #15278: When initialising Streaming Slave if some foldersand files are symlinks they are not copied over - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15278: When initialising Streaming Slave if some foldersand files are symlinks they are not copied over
Date
Msg-id 20180716124931.GB2853@paquier.xyz
Whole thread Raw
In response to BUG #15278: When initialising Streaming Slave if some folders andfiles are symlinks they are not copied over  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #15278: When initialising Streaming Slave if some foldersand files are symlinks they are not copied over  (Areg Vrtanesyan <vrtareg@yahoo.com>)
List pgsql-bugs
On Mon, Jul 16, 2018 at 08:34:35AM +0000, PG Bug reporting form wrote:
> I was creating streaming slave using
> https://wiki.postgresql.org/wiki/Streaming_Replication WiKi
>
> Now when I have moved some of my config files to another place to keep them
> in SVN and also log folders to another partition streaming initialisation
> produces warnings.
>
> Not sure if they are safe as pg_clog will be empty ...

That's unsafe for pg_clog as this tracks the transaction commit status
based on the transaction ID.  Note that this is not a bug, a base backup
using the replication protocol allows only symlinks to be in pg_tblspc,
and pg_wal (pg_xlog for <= 9.6) is handled as a special case.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15279: GSSAPI Authentication?
Next
From: Michael Paquier
Date:
Subject: Re: BUG #15279: GSSAPI Authentication?