pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: vrtareg@yahoo.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
Date: Mon, 16 Jul 2018 21:49:31 +0900
Message-ID: <20180716124931.GB2853@paquier.xyz> (raw)
In-Reply-To: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org>
References: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)  latest in thread

Message-ID: <20180716124931.GB2853@paquier.xyz>
Permalink:  ../20180716124931.GB2853@paquier.xyz/
Also on:    postgresql.org/message-id/20180716124931.GB2853@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, vrtareg@yahoo.com
  Subject: Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
  In-Reply-To: <20180716124931.GB2853@paquier.xyz>
  References: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org> <20180716124931.GB2853@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox