Skip site navigation (1) Skip section navigation (2)

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:49:36
Message-ID: 14478.1162745376@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
"Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> I'm pretty sure most people don't move live postmasters very frequently,
> plus it isn't clear to me why we should support the people that want
> that to do that, yet not the people who want the absolute-path option.

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.

BTW, I note that some post-startup uses of DataDir have crept back in,
in places like utils/adt/dbsize.c.  I'll be sure to clean those up
before release...

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-11-05 17:01:54
Subject: Re: Proposal: vacuum and autovacuum parameters to control freezing
Previous:From: Simon RiggsDate: 2006-11-05 16:43:11
Subject: Re: [HACKERS] Bug in WAL backup documentation

pgsql-patches by date

Next:From: Tom LaneDate: 2006-11-05 17:01:54
Subject: Re: Proposal: vacuum and autovacuum parameters to control freezing
Previous:From: Simon RiggsDate: 2006-11-05 16:43:11
Subject: Re: [HACKERS] Bug in WAL backup documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group