Re: Fwd: Add tablespace tap test to pg_rewind
От
Michael Paquier
Тема
Re: Fwd: Add tablespace tap test to pg_rewind
Дата
Msg-id
20190322053438.GV20192@paquier.xyz
Ответ на
Re: Fwd: Add tablespace tap test to pg_rewind (Shaoqi Bai)
Список
Дерево обсуждения
Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Fwd: Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Shaoqi Bai <sbai@pivotal.io>
Re: Fwd: Add tablespace tap test to pg_rewind Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Fwd: Add tablespace tap test to pg_rewind Tom Lane <tgl@sss.pgh.pa.us>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Add tablespace tap test to pg_rewind Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
Re: Fwd: Add tablespace tap test to pg_rewind Michael Paquier <michael@paquier.xyz>
On Thu, Mar 21, 2019 at 11:41:01PM +0800, Shaoqi Bai wrote: > Have updated the patch doing as you suggested + RewindTest::setup_cluster($test_mode, ['-g']); + RewindTest::start_master(); There is no need to test for group permissions here, 002_databases.pl already looks after that. + # Check for symlink -- needed only on source dir, only allow symlink + # when under pg_tblspc + # (note: this will fall through quietly if file is already gone) + if (-l $srcpath) So you need that but in RecursiveCopy.pm because of init_from_backup when creating the standby, which makes sense when it comes to pg_tblspc. I am wondering about any side effects though, and if it would make sense to just remove the restriction for symlinks in _copypath_recurse(). -- Michael
В списке pgsql-hackers по дате отправления