Re: initdb -S and tablespaces

From: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb -S and tablespaces
Date: 2015-04-15 06:23:28
Message-ID: 20150415062328.GB16656@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2015-04-15 11:40:34 +0530, ams(at)2ndQuadrant(dot)com wrote:
>
> Still, thanks to the example in basebackup.c, I've got most of a patch
> that should follow any symlinks in PGDATA.

I notice that src/bin/pg_rewind/copy_fetch.c has a traverse_datadir()
function that does what we want (but it recurses into symlinks only
inside pg_tblspc).

-- Abhijit

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2015-04-15 06:45:55 Re: PATCH: adaptive ndistinct estimator v4
Previous Message Abhijit Menon-Sen 2015-04-15 06:10:34 Re: initdb -S and tablespaces