Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke
Date
Msg-id 19523.1029383855@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke  (Curt Sampson <cjs@cynic.net>)
Responses Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke
List pgsql-hackers
Curt Sampson <cjs@cynic.net> writes:
> ... just for the record I'm with the "don't
> use an environment variable" crowd here, too. It's way, way to easy
> to start up with the wrong setting in your environment.

What he said ...

> Oh, and yes, it does need to be changable after an initdb. Say you
> start out with only one disk on your system, but add a second disk
> later, and want to move the log to that?

Sure, there should be *a* way to do that.  It does not have to be as
easy as "change an environment variable".  And in fact the primary
objection to this patch is exactly that it is *not* as easy as "change
an environment variable" --- what you get if you just change your
environment variable is not a moved xlog, but a broken database.
Possibly an irredeemably broken database.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Standard replication interface?
Next
From: Rod Taylor
Date:
Subject: Re: Open 7.3 issues