Re: PGXLOG variable worthwhile?
| От | Tom Lane |
|---|---|
| Тема | Re: PGXLOG variable worthwhile? |
| Дата | |
| Msg-id | 9063.1031857929@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PGXLOG variable worthwhile? (Curt Sampson <cjs@cynic.net>) |
| Ответы |
Re: PGXLOG variable worthwhile?
|
| Список | pgsql-hackers |
Curt Sampson <cjs@cynic.net> writes:
> On Thu, 12 Sep 2002, Justin Clift wrote:
>> Am just wondering if we've ever considered adding a PGXLOG environment
>> variable that would point to the pg_xlog directory?
> IMHO, a much better way to support this is to put this information into
> the config file. That way it can't easily change when you happen to, say,
> start postgres in the wrong window.
Yes. We rejected environment-variable-based xlog location for reasons
that apply equally well to Windows. The xlog location *must* be stored
in a physical file in the data directory; anything else is too unsafe.
The current technology for that is a symlink.
While it doesn't have to be a symlink as opposed to some sort of config
file, I don't have the slightest problem with saying that we don't
support relocation of xlog on older Windoid platforms.
regards, tom lane
В списке pgsql-hackers по дате отправления: