Re: Specifying xlog directory during initdb is failing
От | Tom Lane |
---|---|
Тема | Re: Specifying xlog directory during initdb is failing |
Дата | |
Msg-id | 811.1212373645@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Specifying xlog directory during initdb is failing (Devrim GÜNDÜZ <devrim@CommandPrompt.com>) |
Ответы |
Re: Specifying xlog directory during initdb is failing
Re: Specifying xlog directory during initdb is failing |
Список | pgsql-bugs |
Devrim GÜNDÜZ <devrim@CommandPrompt.com> writes: > I was testing -X option, and I cannot make it work. This is PostgreSQL > 8.3.1 on Fedora 9: > -bash-3.2$ initdb -d -X xlog/ -D data/ The root of the problem is that you can't use a relative path for -X: it's not clear whether the path is relative to $PGDATA or the working directory when you invoked initdb, and different bits of initdb effectively make each of those assumptions. I agree that the failure mode is pretty opaque :-(. I think the simplest solution is to reject non-absolute path for -X; is there any real use-case for allowing it? regards, tom lane
В списке pgsql-bugs по дате отправления: