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