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 1ff2wj-0007IC-AR for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Jul 2018 12:49:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ff2wh-0000CR-9I for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Jul 2018 12:49:43 +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 1ff2wf-0000CI-9B for pgsql-bugs@lists.postgresql.org; Mon, 16 Jul 2018 12:49:43 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ff2wb-0007KX-VJ for pgsql-bugs@lists.postgresql.org; Mon, 16 Jul 2018 12:49:40 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 792122188F; Mon, 16 Jul 2018 08:49:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 16 Jul 2018 08:49:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=5P9dMalO9yYtEORIi+RwaT55Ewj+Yz36g1apMxlCf40=; b=fhRqFWCe JXzKjswNzQSu0hydMwC+aT0IA/+Vm2613OBXfT4qnA5/2WApqANKhkFZco1rcm+Z /HOSIrDaKLwwfTZi/Or/E+SE39yZSxdhUpi5d2W9Xb8qtOY527puY1fa1jjdHnGK PtysY2et3Z4eLZbODMxNAQLwBy1L6TvNc7UWhkpa6rGyU8H6Mc79uDcuA2v05ZXY iLPldy5ByA/OvhqXyXOc1CTcUvxsgAkdgARNQJF8qTz3HewF1iGVMiEoNFeGj3L8 TXJl3G50NmeRBXPiIAWz3Sr7UCCedejF8Wzmtjr6T/z8Mte91/4Ndhg1CaltrzT4 BnbYWDEUs7twJw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=5P9dMalO9yYtEORIi+RwaT55Ewj+Y z36g1apMxlCf40=; b=RXI0WSAblv9ZEnd0g2JO2P41v6K/17VReSyhTahnVSKb5 5kO2c0Y/8GEdkdHOmH3iEaSluqhIzRO/3y2aN1osj5bK2sNVU5+9HVRgiM6Jya1K At09WdlI5djler0SKCSPDwFGn3jgwR9Z3DaEEdCyqOytacYgiHOUxu+It7MmBtJ9 kl1zvtB38kCn3/nHmhm7ixyWi6qj6/or1S3G5XWBbbzYcCXFOf4s5dtgwFACc1Wo riAHrDebYrczzmpHsUCTqqjZ25X5kkTMsla9CsJLNfEnEpYSv7bGvE1Iw2fF32Ez V1LKPKBIIuX7btdU/VoyaKPLdv8L8rRFMVbG5Jg/A== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id AB24AE49F9; Mon, 16 Jul 2018 08:49:34 -0400 (EDT) Date: Mon, 16 Jul 2018 21:49:31 +0900 From: Michael Paquier To: vrtareg@yahoo.com, 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 Message-ID: <20180716124931.GB2853@paquier.xyz> References: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <153173007553.1395.13531858088021200946@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. 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 <=3D 9.6) is handled as a special case. -- Michael --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAltMlFsACgkQnvQgOdby QH0B5hAAiAC8evvx7gsyHgD4esBD95xCDe1GzJrcxQOULQ3CeRs7vxAnGUECUUQE mKfBC7mQqMpFbBSVr9uwFh/QceEv0FyPahdu1TVL51MkIPZdCC0TApFNLvk+nXde dqekzzA7fmVfO+318BH6ZXL1aZQ9tk1kIgpEaETnfZBarBYVSBru1O/0dOp0NVOp BUO5DBfWQvGIKEvuFfWac1raPEmr5+L/6ucXfJ5F9HfX2ZGtUlu0otlFPWyq8H/V MU89ZEJou+voxWG9OJJiCedaZPMVWca7Y5YzbVHwF7JoJIIk9xcLWfFmpuJFBQVW odn3XzVein9ax7HM4PKLQeHOS9jrVQbJImh1BE+SsWnJUqui/+a0n8HZRQ1bCt/t UQzmCFuLHbKuKwtAyiaNwrpTEFBP8uGgfWUL5QkRfdqMDBRxk4OAbnI2gmlTNG9z 7F2tyZBYL0kLJXGRad2AmKiHQXjR66fcUtRyXa8lAD1NSQi2LvpvV+onuMivqLBB Mw2Gmnj5DTaZ7+O+pkMrn6K24MAsSSf7m92IH2/4iG+mXQZ3q74GDfGyqLAPkYwE kD+mgn2XAVeIO9dgqjHU13nU4HBLmFbFnA1UbGmCT8L4cUA+1NNREtzHWc270+O8 lB59BH5wigG3bJaYM3EEypdKbE2SZqBEQDD5pU2debisRZ0sHlg= =6En6 -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd--