pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Anders Kaseorg <andersk@mit.edu>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: alvherre@alvh.no-ip.org
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory
Date: Sun, 9 Jan 2022 15:26:28 -0600
Message-ID: <20220109212628.GN14051@telsasoft.com> (raw)
In-Reply-To: <1769427.1641754742@sss.pgh.pa.us>
References: <202110182223.zeze33l55qa5@alvherre.pgsql>
	<20211019.173422.706584612464055211.horikyota.ntt@gmail.com>
	<5d675cbe-7837-e9ae-961d-be7d03201f3b@mit.edu>
	<20211020.144014.580443822870543857.horikyota.ntt@gmail.com>
	<07CA67A0-A46C-4ED5-99C6-24D41BDDC8CA@yesql.se>
	<d452fd57-8c34-0a94-79c1-4498eb4ffbdc@mit.edu>
	<1769427.1641754742@sss.pgh.pa.us>

On Sun, Jan 09, 2022 at 01:59:02PM -0500, Tom Lane wrote:
> Given the POSIX requirements, it's basically impossible to believe
> that there are interesting cases where $HOME isn't set.

I've run into this before - children of init may not have HOME set.

It's easy enough to add it if it's needed, but should probably be called out in
the release notes.

-- 
Justin





view thread (18+ messages)  latest in thread

Message-ID: <20220109212628.GN14051@telsasoft.com>
Permalink:  ../20220109212628.GN14051@telsasoft.com/
Also on:    postgresql.org/message-id/20220109212628.GN14051@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, tgl@sss.pgh.pa.us, andersk@mit.edu, daniel@yesql.se, horikyota.ntt@gmail.com, alvherre@alvh.no-ip.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: [PATCH] Prefer getenv("HOME") to find the UNIX home directory
  In-Reply-To: <20220109212628.GN14051@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox