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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: 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 13:24:20
Message-ID: 25004.1029245060@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Thomas Lockhart <lockhart(at)fourpalms(dot)org> writes:
> In the spirit of gratutious overstatement, I'll point out again:
> symlinks are evil.

Please justify that claim. They work really nicely in my experience...
and I don't know of any modern Unix system that doesn't rely on them
*heavily*.

Possibly more to the point, I can assert "environment variables are
evil" with at least as much foundation. We have seen many many reports
of trouble from people who were bit by environment-variable problems
with Postgres. Do I need to trawl the archives for examples?

However, as I just commented to Marc the real issue in my mind is that
the xlog needs to be solidly tied to the data directory, because we
can't risk starting a postmaster with the wrong combination. I do not
think that external specification of the xlog as a separate env-var or
postmaster command-line arg gives the appropriate amount of safety.
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?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-08-13 13:43:56 Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke
Previous Message Tom Lane 2002-08-13 13:15:16 Re: [COMMITTERS] pgsql-server/src

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2002-08-13 13:26:30 Re: [GENERAL] Linux Largefile Support In Postgresql RPMS
Previous Message Martijn van Oosterhout 2002-08-13 13:15:19 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS