pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove redundant getenv() for PGUSER, in psql help.
Date: Thu, 04 Mar 2021 09:24:40 +0000
Message-ID: <E1lHkDo-0006c3-RQ@gemulon.postgresql.org> (raw)

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

Previously psql obtained the value of PGUSER twice to display
a default user in its help message.

Author: Kota Miyake
Reviewed-by: Nitin Jadhav, Fujii Masao
Discussion: https://postgr.es/m/2a3c612babdd6ed63a9d877bb575d793@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a4241e15b246663fc44b5e5355bc6d19c6d2aa6

Modified Files
--------------
src/bin/psql/help.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)



Message-ID: <E1lHkDo-0006c3-RQ@gemulon.postgresql.org>
Permalink:  ../E1lHkDo-0006c3-RQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lHkDo-0006c3-RQ@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Remove redundant getenv() for PGUSER, in psql help.
  In-Reply-To: <E1lHkDo-0006c3-RQ@gemulon.postgresql.org>
  References: <E1lHkDo-0006c3-RQ@gemulon.postgresql.org>

* 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