Re: [PATCHES] Bug in WAL backup documentation - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: [PATCHES] Bug in WAL backup documentation
Date
Msg-id 20061108011135.GA15732@wolff.to
Whole thread Raw
In response to Re: [PATCHES] Bug in WAL backup documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] Bug in WAL backup documentation  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
On Sun, Nov 05, 2006 at 11:49:36 -0500,
  Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> As already discussed upthread, anyone who wants the path can get it from
> `pwd` or local equivalent --- and that mechanism is robust (as long as
> the directory move doesn't happen while any particular instance of the
> script is running).  I don't see why we should go out of our way to
> provide a bad substitute for pwd.

I think you also still need read access to the intervening directories.
If the command works by walking up and matching inode numbers with names,
then it will break if it can't read the names. (For example /bin/pwd
breaks when it can't read a parent directories filenames.)

pgsql-hackers by date:

Previous
From: "JEAN-PIERRE PELLETIER"
Date:
Subject: Re: Index ignored with "is not distinct from", 8.2 beta2
Next
From: Neil Conway
Date:
Subject: Re: Uncleared result sets in describeOneTableDetails()