Re: 8.0 libpq: missing get_home_path()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 8.0 libpq: missing get_home_path()
Дата
Msg-id 200408181835.i7IIZLG06081@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: 8.0 libpq: missing get_home_path()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I need to call canonicalize_path() in the macro.
> 
> There is only one use of get_home_path in libpq.  Lose it and do
> a direct getenv(HOMEDIR).  You do not really need to do a
> canonicalize_path there; it'd be sufficient to insert the appropriate
> directory separator ('/' or '\') when forming pgpassfile just below.

OK, sounds like a plan. I will add a comment about its purpose.

--  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,
Pennsylvania19073
 


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: stop the presses (Re: 7.4.4 packaged ...)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: initdb failure on win32