On 13/12/2018 12:07, Kyotaro HORIGUCHI wrote:
> - v6-0002-Add-psql-g-option-to-control-debug-print.patch
>
> Applies on top of 0001. Code is always active, -g addition to
> -L activates debug print into the log file. If only -g is
> specified it is forcibly turned off.
>
> > $ psql postgres -g
> > psql: no session log file, turn off debug print
> > psql (12devel)
> > Type "help" for help.
>
> -g option shows in help message. (perhaps arguable.)
I'm not sure that this should be a run-time option. But we surely don't
want to use up a good short option letter for this.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services