From: | "Marc G(dot) Fournier" <scrappy(at)hub(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Thomas Lockhart <lockhart(at)fourpalms(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke |
Date: | 2002-08-13 05:12:04 |
Message-ID: | 20020813020634.W35100-100000@mail1.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Tue, 13 Aug 2002, Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, seeing as no one voted, and only Tom and I objected originally, we
> > will keep the code as Thomas has applied it, namely that PGXLOG/-X is
> > recognized by initdb, postmaster, postgres, and pg_ctl.
>
> We will? It looks to me like Thomas lost the vote 2-to-1.
>
> Unless there are more votes, I'm going to *insist* that this code be
> changed. It's dangerous and offers no offsetting benefit. XLOG
> location should be settable at initdb, noplace later.
Okay, I'm going to pop up here and side with Thomas ... I think ... I may
have missed some issues here, but, quite frankly, I hate symlinks, as I've
seen it create more evil then good .. hardlinks is a different story ...
And for that reason, I will side with Thomas ...
initdb should allow you to specify a seperate location, which I don't
think anyone disagrees with ... but, what happens if, for some reason, I
have to move it to another location? I have to then dump/reload after
doing a new initdb?
One thought at the back of my mind is why not have something like a
'PG_VERSION' for XLOG? Maybe something so simple as a text file in both
the data and xlog directory that just contains a timestamp from the
initdb? then, when you startup postmaster with a -X option, it compares
the two files and makes sure that they belong to each other?
Bruce, if I'm missing something, could you post a summary/scorecard for
pros-cons on this issue?
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Copeland | 2002-08-13 05:12:48 | Re: [COMMITTERS] pgsql-server/src |
Previous Message | Bruce Momjian - CVS | 2002-08-13 05:08:35 | pgsql-server/doc/TODO.detail performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Copeland | 2002-08-13 05:12:48 | Re: [COMMITTERS] pgsql-server/src |
Previous Message | Bruce Momjian | 2002-08-13 04:30:12 | Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke |