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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke
Date: 2002-08-13 14:06:06
Message-ID: 25427.1029247566@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:
> On Tue, 2002-08-13 at 14:24, Tom Lane wrote:
>> But there's more than one way to record the xlog location in the data
>> directory. If you don't like a symlink, what of putting it in
>> postgresql.conf as a postmaster-start-time-only config option?

> Please don't!

> The Debian package at least provides a default postgresql.conf and it
> will be all too easy for someone installing an updated package to let
> the default file overwrite the existing configuration. That could be
> disastrous.

Ouch. That's a mighty good point ... although if we were to implement
Marc's idea of matching signature files, we'd certainly catch the error.

If we didn't, we'd need to use a separate, one-purpose config file that
just records the xlog location. Curiously enough, that seems to me to
be exactly what a symlink does, except that the symlink is OS-level code
rather than something we have to write for ourselves. So I'm back to
thinking that a symlink is a perfectly respectable answer.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Oliver Elphick 2002-08-13 14:18:48 Re: [COMMITTERS] pgsql-server/src
Previous Message Tom Lane 2002-08-13 14:00:19 Re: [COMMITTERS] pgsql-server/src

Browse pgsql-hackers by date

  From Date Subject
Next Message Samuel A Horwitz 2002-08-13 14:14:22 cvs compile failure on AIX 4.3.2
Previous Message Tom Lane 2002-08-13 14:00:19 Re: [COMMITTERS] pgsql-server/src