pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Areg Vrtanesyan <vrtareg@yahoo.com>
To: michael@paquier.xyz <michael@paquier.xyz>
To: pgsql-bugs@lists.postgresql.org <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 12:55:04 +0000 (UTC)
Message-ID: <2135836125.4703041.1531745704790@mail.yahoo.com> (raw)
In-Reply-To: <20180716124931.GB2853@paquier.xyz>
References: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org>
	<20180716124931.GB2853@paquier.xyz>

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  

Attachments:

Untitled (text/plain, 699B) download 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

view thread (3+ messages)

Message-ID: <2135836125.4703041.1531745704790@mail.yahoo.com>
Permalink:  ../2135836125.4703041.1531745704790@mail.yahoo.com/
Also on:    postgresql.org/message-id/2135836125.4703041.1531745704790@mail.yahoo.com

 · 

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

* 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