Re: [BUGS] 8.0: Absolute path required for INITDB?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] 8.0: Absolute path required for INITDB?
Дата
Msg-id 200408161623.i7GGNlv23530@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] 8.0: Absolute path required for INITDB?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan wrote:
>
>
> Bruce Momjian wrote:
>
> >Patch to throw an error if -L is not an abolute path attached and
> >applied.
> >
> >
>
>
> Why are we placing this restriction? What Josh tried to do seems
> perfectly reasonable to me. Rather I would ask why we changed the
> description-loading routine in version 1.7 of initdb.c to use a copy
> from file instead of what happens everywhere else where initdb loads the
> file and feeds it to the postgres stdin? And if we want to keep doing
> that rather than being consistent with the rest of initdb, can't we just
> make sure we make the path absolute?

I am fine with that if someone wants to code it.  I just did the minimal
to prevent strange failures.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] 8.0: Absolute path required for INITDB?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [BUGS] 8.0: Absolute path required for INITDB?