Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory
Дата
Msg-id
YW5I9Vv2rl26tApi@paquier.xyz
Ответ на
Список
Дерево обсуждения
[PATCH] Prefer getenv("HOME") to find the UNIX home directory Anders Kaseorg <andersk@mit.edu>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Anders Kaseorg <andersk@mit.edu>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Anders Kaseorg <andersk@mit.edu>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Justin Pryzby <pryzby@telsasoft.com>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Anders Kaseorg <andersk@mit.edu>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Anders Kaseorg <andersk@mit.edu>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Christoph Moench-Tegeder <cmt@burggraben.net>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Christoph Moench-Tegeder <cmt@burggraben.net>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory Michael Paquier <michael@paquier.xyz>
Re: Is my home $HOME or is it getpwent()->pw_dir ? Chapman Flack <chap@anastigmatix.net>
On Mon, Oct 18, 2021 at 07:23:50PM -0300, Alvaro Herrera wrote:
> I think modifying $HOME is a strange way to customize things, but given
> how widespread it is [claimed to be] today, it seems reasonable to do
> things that way.

I am not sure about this claim, but it seems to me that we could get
rid of the duplications in src/port/path.c, libpq/fe-connect.c and
psql/command.c (this one is different for WIN32 but consistency would
be a good thing) as the proposed patch outlines.  So I would suggest
to begin with that rather than changing three places to do the same
thing.
--
Michael
В списке pgsql-hackers по дате отправления
От: tanghy.fnst@fujitsu.com
Дата:
От: Amit Kapila
Дата:
FAQ