Re: [PATCH] psql : Improve code for help option

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: miyake_kouta <miyake_kouta@oss.nttdata.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2021-03-03T07:39:01Z
Lists: pgsql-hackers

On 2021/03/03 12:27, miyake_kouta wrote:
> 2021-03-03 00:09, Fujii Masao wrote:
>> We can simplify the code more and remove "env = user"
>> by just using "user" instead of "env" in the above?
> 
> Thank you for your comment.
> I updated my patch and replaced "env" with "user".
> Please check.

Thanks for updating the patch!
LGTM. Barrying any objection, I will commit this patch.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



Commits

  1. Remove redundant getenv() for PGUSER, in psql help.