From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Thomas Lockhart <lockhart(at)fourpalms(dot)org> |
Cc: | Greg Copeland <greg(at)CopelandConsulting(dot)Net>, Curt Sampson <cjs(at)cynic(dot)net>, Andrew Sullivan <andrew(at)libertyrms(dot)info>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WAL file location |
Date: | 2002-08-03 02:36:05 |
Message-ID: | 200208030236.g732a5p15821@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thomas Lockhart wrote:
> ...
> > I was just wondering why we would deal with environment variables or
> > postgresql.conf settings. Just make it an initdb flag, create it in the
> > desired location with a symlink in /data and then we don't have to do
> > any more work for WAL locations unless people want to move it around
> > after then initdb'ed, in which case they have to do it manually.
>
> Well, I have the same reaction to symlinks as some others might have to
> environment variables ;) Symlinks are inherently evil for determining
> fundamental properties of our database, and inherently evil for
> determining locations of files within our database.
>
> They don't scale, they are not portable, and it is difficult for
> applications (like the Postgres backend) to know that they are dealing
> with a simlink or a real file.
OK, I understand now, though I personally like symlinks. At least I
understand your point of view.
From my perspective, I think they are portable, they do scale unless you
are talking about tons of symlinks, which we aren't, and I don't think
PostgreSQL has to care whether they are symlinks or not.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2002-08-03 02:44:34 | Re: FUNC_MAX_ARGS benchmarks |
Previous Message | Thomas Lockhart | 2002-08-03 02:28:34 | Re: WAL file location |