Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff432-0003Ad-A6 for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Jul 2018 14:00:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ff430-0004yC-7m for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Jul 2018 14:00:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff31z-0003rB-4s for pgsql-bugs@lists.postgresql.org; Mon, 16 Jul 2018 12:55:11 +0000 Received: from sonic304-11.consmr.mail.bf2.yahoo.com ([74.6.128.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff31w-0007S6-6e for pgsql-bugs@lists.postgresql.org; Mon, 16 Jul 2018 12:55:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1531745706; bh=SLDNkZywgRuuYAwwPNQLArqA6EwFKOMOB3vYIbBgj/U=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=Ixjv1fwJUqoHq3AHsXk2Yix26YYApOlL1bekzM7YD4CjYjWU1cD6jcJn3YQftwlOGOVCXhyLCzxqKlNL27xf3cUgg8xkNVvtbQkEi+Dqdi9IdXFchK+RdDDpgGPlrSL1IMtAsxE6fgcQPuNQnxjlaKtqtOu0bX4kXhZe3MBcg9aagt/HaXyVzY3evSGHN/mP3enxGCnNJoW6W0wYFgF8ps1pP6YJJ12Y2mpfYcjblfM2y/txTdfwliIHAoJjuEOrYvEIrzyCyPm+uKmMYByz0oM+ns70MGF514fh7znAWJ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.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Mon, 16 Jul 2018 12:55:06 +0000 Date: Mon, 16 Jul 2018 12:55:04 +0000 (UTC) From: Areg Vrtanesyan Reply-To: "vrtareg@yahoo.com" To: "michael@paquier.xyz" , "pgsql-bugs@lists.postgresql.org" Message-ID: <2135836125.4703041.1531745704790@mail.yahoo.com> In-Reply-To: <20180716124931.GB2853@paquier.xyz> References: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org> <20180716124931.GB2853@paquier.xyz> Subject: Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4703040_677158837.1531745704790" X-Mailer: WebService/1.1.12062 YahooMailAndroidMobile YMobile/1.0 (com.yahoo.mobile.client.android.mail/5.29.2; Android/8.0.0; R16NW; dream2lte; samsung; SM-G955F; 5.98; 2792x1440;) Content-Length: 4196 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_4703040_677158837.1531745704790 Content-Type: multipart/alternative; boundary="----=_Part_4703039_2090607606.1531745704758" ------=_Part_4703039_2090607606.1531745704758 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Michael=C2=A0 I was assuming that too. I will consider to move pg_clog back. Regards, Areg =20 =20 On Mon, 16 Jul 2018 at 13:49, Michael Paquier 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 >=20 > Now when I have moved some of my config files to another place to keep th= em > in SVN and also log folders to another partition streaming initialisation > produces warnings. >=20 > 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.=C2=A0 Note that this is not a bug, a base back= up using the replication protocol allows only symlinks to be in pg_tblspc, and pg_wal (pg_xlog for <=3D 9.6) is handled as a special case. -- Michael =20 ------=_Part_4703039_2090607606.1531745704758 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Michael 

I was assuming tha= t too.

=
I will consider to mov= e pg_clog back.


Regards,
= Areg

On Mon, 16 Jul 20= 18 at 13:49, Michael Paquier
<michael@paquier.xyz> wrote:
On Mon, Jul 16, 2018 at 08:34:35AM +0000, PG B= ug reporting form wrote:
> I was creating streaming slave using
&g= t; https://wiki.postgresql.org/wiki/Streaming_Replication Wi= Ki
>
> Now when I have moved some of my config files to anothe= r place to keep them
> in SVN and also log folders to another partiti= on streaming initialisation
> produces warnings.
>
> Not= sure if they are safe as pg_clog will be empty ...

That's unsafe fo= r pg_clog as this tracks the transaction commit status
based on the tran= saction ID.  Note that this is not a bug, a base backup
using the r= eplication protocol allows only symlinks to be in pg_tblspc,
and pg_wal = (pg_xlog for <=3D 9.6) is handled as a special case.
--
Michael
------=_Part_4703039_2090607606.1531745704758-- ------=_Part_4703040_677158837.1531745704790 Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Untitled" Content-ID: <71843175-923c-4a00-9975-d2e1fd14dce4> T24gTW9uLCBKdWwgMTYsIDIwMTggYXQgMDg6MzQ6MzVBTSArMDAwMCwgUEcgQnVnIHJlcG9ydGlu ZyBmb3JtIHdyb3RlOgo+IEkgd2FzIGNyZWF0aW5nIHN0cmVhbWluZyBzbGF2ZSB1c2luZwo+IGh0 dHBzOi8vd2lraS5wb3N0Z3Jlc3FsLm9yZy93aWtpL1N0cmVhbWluZ19SZXBsaWNhdGlvbiBXaUtp Cj4gCj4gTm93IHdoZW4gSSBoYXZlIG1vdmVkIHNvbWUgb2YgbXkgY29uZmlnIGZpbGVzIHRvIGFu b3RoZXIgcGxhY2UgdG8ga2VlcCB0aGVtCj4gaW4gU1ZOIGFuZCBhbHNvIGxvZyBmb2xkZXJzIHRv IGFub3RoZXIgcGFydGl0aW9uIHN0cmVhbWluZyBpbml0aWFsaXNhdGlvbgo+IHByb2R1Y2VzIHdh cm5pbmdzLgo+IAo+IE5vdCBzdXJlIGlmIHRoZXkgYXJlIHNhZmUgYXMgcGdfY2xvZyB3aWxsIGJl IGVtcHR5IC4uLgoKVGhhdCdzIHVuc2FmZSBmb3IgcGdfY2xvZyBhcyB0aGlzIHRyYWNrcyB0aGUg dHJhbnNhY3Rpb24gY29tbWl0IHN0YXR1cwpiYXNlZCBvbiB0aGUgdHJhbnNhY3Rpb24gSUQuICBO b3RlIHRoYXQgdGhpcyBpcyBub3QgYSBidWcsIGEgYmFzZSBiYWNrdXAKdXNpbmcgdGhlIHJlcGxp Y2F0aW9uIHByb3RvY29sIGFsbG93cyBvbmx5IHN5bWxpbmtzIHRvIGJlIGluIHBnX3RibHNwYywK YW5kIHBnX3dhbCAocGdfeGxvZyBmb3IgPD0gOS42KSBpcyBoYW5kbGVkIGFzIGEgc3BlY2lhbCBj YXNlLgotLQpNaWNoYWVs ------=_Part_4703040_677158837.1531745704790--