Remove redundant getenv() for PGUSER, in psql help.
Fujii Masao <fujii@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/help.c | modified | +1 −4 |
Discussion
- [PATCH] psql : Improve code for help option 6 messages · 2021-03-02 → 2021-03-04