Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: vrtareg(at)yahoo(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
Date: 2018-07-16 12:49:31
Message-ID: 20180716124931.GB2853@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2018-07-16 12:52:24 Re: BUG #15279: GSSAPI Authentication?
Previous Message PG Bug reporting form 2018-07-16 11:51:28 BUG #15279: GSSAPI Authentication?