Re: [HACKERS] Bug in WAL backup documentation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org, "Bernd Helmle" <mailings(at)oopsware(dot)de>, pgsql-patches(at)postgresql(dot)org, "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Subject: Re: [HACKERS] Bug in WAL backup documentation
Date: 2006-11-05 16:10:13
Message-ID: 14003.1162743013@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> On Sat, 2006-11-04 at 13:29 -0500, Tom Lane wrote:
>> Looking back in the archives, I note that one of the arguments for
>> making the server use relative paths everywhere was so that it'd be
>> robust against things like DBAs moving directories that contain live
>> postmasters. If we provide a %P option, or otherwise encourage people
>> to write scripts that depend on the absolute path of $PGDATA, we'd lose
>> some of this robustness.

> I think I can fulfil Bernd, Florian and Martijn's wishes by supplying an
> additional substitutable parameter %d which is replaced by the DataDir.

This fails to respond to the concern that DataDir might be out-of-date.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-11-05 16:26:20 Re: Proposal: vacuum and autovacuum parameters to control freezing
Previous Message Neil Conway 2006-11-05 16:01:40 Re: PostgreSQL 8.2 (from CVS devel) first impressions

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-11-05 16:26:20 Re: Proposal: vacuum and autovacuum parameters to control freezing
Previous Message Simon Riggs 2006-11-05 15:02:11 Re: [HACKERS] Bug in WAL backup documentation