Re: [PATCH] get_home_path: use HOME - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: [PATCH] get_home_path: use HOME
Date
Msg-id 20160921084303.GA42261@e733
Whole thread Raw
In response to [PATCH] get_home_path: use HOME  (Rudolf Gavlas <r.stu3.1@googlemail.com>)
List pgsql-hackers
> I work in an environment, where servers are administered by people
> with different user names and identical uid (0).

Multiple users with same uid is orthodox indeed. Just out of curiosity -
what environment is this, if it's not a secret?

> The usage of HOME environment variable (if set) is IMO the right,
> standard and faster way to get_home_path().

As a side note I personally think that considering $HOME environment
variable is not such a bad idea. However I think we should make sure
first that this is really a bug that is relatively easy to reproduce in
real-world environments, a not just a hack for single misconfigured
system.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [PATCH] Transaction traceability - txid_status(bigint)
Next
From: valeriof
Date:
Subject: Re: Error running custom plugin: “output plugins have to declare the _PG_output_plugin_init symbol”