Re: initdb -S and tablespaces - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: initdb -S and tablespaces
Date
Msg-id 20150415061034.GA16656@toroid.org
Whole thread Raw
In response to Re: initdb -S and tablespaces  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: initdb -S and tablespaces
Re: initdb -S and tablespaces
List pgsql-hackers
At 2015-04-06 10:16:36 -0300, alvherre@2ndquadrant.com wrote:
>
> Well, we have many things that can be set as symlinks; some you can
> have initdb create the links for you (initdb --xlogdir), others you
> can move manually.

Looking at sendDir() in backend/replication/basebackup.c, I notice that
the only places where it expects/allows symlinks are for pg_xlog and in
pg_tblspc.

Still, thanks to the example in basebackup.c, I've got most of a patch
that should follow any symlinks in PGDATA. I just need to test a little
more before I post it.

-- Abhijit



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Make more portable TAP tests of initdb
Next
From: Abhijit Menon-Sen
Date:
Subject: Re: initdb -S and tablespaces