On Thu, Dec 13, 2018 at 07:43:52PM +0100, Peter Eisentraut wrote: > 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.
Given the often onerous givens of installing new software on production machines, I'm thinking it actually should be. > But we surely don't want to use up a good short option letter for > this. Would it make sense to roll this into the -L option? Best, David. -- David Fetter <david(at)fetter(dot)org> http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate