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

From Areg Vrtanesyan
Subject Re: BUG #15278: When initialising Streaming Slave if some foldersand files are symlinks they are not copied over
Date
Msg-id 2135836125.4703041.1531745704790@mail.yahoo.com
Whole thread Raw
In response to Re: BUG #15278: When initialising Streaming Slave if some foldersand files are symlinks they are not copied over  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
Hi Michael 

I was assuming that too.

I will consider to move pg_clog back.


Regards,
Areg

On Mon, 16 Jul 2018 at 13:49, Michael Paquier
<michael@paquier.xyz> wrote:
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: Michael Paquier
Date:
Subject: Re: BUG #15279: GSSAPI Authentication?
Next
From: PG Bug reporting form
Date:
Subject: BUG #15280: Clang 6.0.1 compiler warning - strlcpy