Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>,
Magnus Hagander <magnus@hagander.net>,
Tom Lane <tgl@sss.pgh.pa.us>,
Euler Taveira <euler@eulerto.com>,
chenjq.jy@fujitsu.com,
PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-08-27T12:02:10Z
Lists: pgsql-bugs
> On 27 Aug 2021, at 13:21, Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote: > > On 20.08.21 12:49, Daniel Gustafsson wrote: >>> On 19 Aug 2021, at 04:45, Julien Rouhaud <rjuju123@gmail.com> wrote: >>> >>> On Thu, Aug 19, 2021 at 2:53 AM Daniel Gustafsson <daniel@yesql.se> wrote: >>>> >>>>> On 18 Aug 2021, at 15:49, Daniel Gustafsson <daniel@yesql.se> wrote: >>>>> >>>>> Since there is consensus for removing --quiet, I’ll propose a patch in a bit >>>>> for removing it and fixing up the tests. >>>> >>>> Turns I was a bit undercaffeinated when skimming the tests, it really wasn’t >>>> that invasive. The attached diff removes --quiet and fixes up the tests and >>>> docs to match. Anyone who wants to keep --quiet should.. ehm, not keep quiet. >>> >>> The patch looks good to me. >> Applied to master and 14, thanks for review! > > I see that we still have the PQsetErrorVerbosity() call for --verbose, and we still issue warnings with --no-strict-names. Did we want to keep these two behaviors? I think issuing the warnings for --no-strict-names is appropriate, setting PQsetErrorVerbosity on --verbose might be less so although I don’t strong feelings on that. Maybe setting that should be reserved for the extra verbose levels (that many other projects have with -vv etc) if we ever add that? -- Daniel Gustafsson https://vmware.com/
Commits
-
Remove --quiet option from pg_amcheck
- 9a9c8b92018d 15.0 landed
- 92ce7f527960 14.0 landed