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

From: Areg Vrtanesyan <vrtareg(at)yahoo(dot)com>
To: "michael(at)paquier(dot)xyz" <michael(at)paquier(dot)xyz>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <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:55:04
Message-ID: 2135836125.4703041.1531745704790@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)paquier(dot)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 Content-Type Size
Untitled text/plain 699 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-07-16 13:50:52 BUG #15280: Clang 6.0.1 compiler warning - strlcpy
Previous Message Michael Paquier 2018-07-16 12:52:24 Re: BUG #15279: GSSAPI Authentication?