Re: pgsql-server: Use strdup in pg_ctl for canonicalize_path on environment

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql-server: Use strdup in pg_ctl for canonicalize_path on environment
Дата
Msg-id 27086.1089661544@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql-server: Use strdup in pg_ctl for canonicalize_path  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pgsql-server: Use strdup in pg_ctl for canonicalize_path  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-committers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> You're not doing very well with this project :-(.  pg_ctl is now
>> actively broken, because the PGDATA value passed down to the
>> bootstrap backend is the one in the environment variable.  The
>> previous coding canonicalized that, this does not.

> I didn't think we could modify the environment variables like that
> portably.

Possibly not, but if you think that then the correct response is to
re-assign the environment var using putenv().

            regards, tom lane

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

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server: Add blank line to new canonicalize_path file, which
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql-server: Use strdup in pg_ctl for canonicalize_path