Re: [PATCH] get_home_path: use HOME
От | Tom Lane |
---|---|
Тема | Re: [PATCH] get_home_path: use HOME |
Дата | |
Msg-id | 20753.1474389324@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | [PATCH] get_home_path: use HOME (Rudolf Gavlas <r.stu3.1@googlemail.com>) |
Ответы |
Re: [PATCH] get_home_path: use HOME
Re: [PATCH] get_home_path: use HOME |
Список | pgsql-hackers |
Rudolf Gavlas <r.stu3.1@googlemail.com> writes: > The usage of HOME environment variable (if set) is IMO the right, > standard and faster way to get_home_path(). Can you provide some evidence for that claim? I can believe "faster" but the rest sounds like wishful thinking. > I work in an environment, where servers are administered by people > with different user names and identical uid (0). I think what you have there is an incredibly badly-designed system that can be expected to break outside software (eg, Postgres). If we take this patch, what's to stop someone from complaining that we broke *their* badly-designed system that abuses the HOME variable? I'm pretty hesitant to touch code that's worked the same way for a decade or two on such a basis. regards, tom lane
В списке pgsql-hackers по дате отправления: