Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Euler Taveira <euler(at)eulerto(dot)com>, chenjq(dot)jy(at)fujitsu(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Subject: Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command
Date: 2021-08-18 18:53:00
Message-ID: 3CF09700-ECE9-4FAF-B22C-7E55BC09AD01@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 18 Aug 2021, at 15:49, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> On 18 Aug 2021, at 15:46, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>
>> On Wed, Aug 18, 2021 at 3:43 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>>
>>> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
>>>>> On 18 Aug 2021, at 13:44, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
>>>>> I think this both of these things could be deleted and we could get rid of the --quiet option, to simplify all this.
>>>
>>>> It simplifies the pg_amcheck code a bit, but it at the same time complicates
>>>> the tests as they are currently written. Not sure that we want to change that
>>>> much as this point in the 14 cycle?
>>>
>>> It's going to become much harder to change pg_amcheck's user-visible
>>> behavior once it's shipped in a release. Better to fix it now while
>>> there are not backwards-compatibility concerns.
>>
>> +<several>. Let's just get it done now. I doubt many people have had
>> the time to integrate it into their scripts and such yet, and since
>> it's a beta...
>
> 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.

--
Daniel Gustafsson https://vmware.com/

Attachment Content-Type Size
pg_amcheck_no_quiet.diff application/octet-stream 6.7 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2021-08-18 19:27:18 Re: PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",
Previous Message Tom Lane 2021-08-18 18:01:46 Re: BUG #17152: ERROR: AddressSanitizer: SEGV on unknown address