Re: WAL file location

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: WAL file location
Дата
Msg-id 200208030236.g732a5p15821@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: WAL file location  (Thomas Lockhart <lockhart@fourpalms.org>)
Список 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: WAL file location
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: FUNC_MAX_ARGS benchmarks