From: | Geoff Winkless <pgsqladmin(at)geoff(dot)dj> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: REINDEX VERBOSE unknown option |
Date: | 2019-11-18 12:24:40 |
Message-ID: | CAEzk6fd_Bu4=um9PfG+OW4hjZgYzYDOmo0QTFAGzNsLo=n7emA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, 18 Nov 2019 at 11:46, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> On Mon, Nov 18, 2019 at 10:27:24AM +0100, Josef Šimánek wrote:
> > This is clear once you understand what does it mean. I was aware of VERBOSE
> > option of EXPLAIN and tried to use it without needed parentheses (the same
> > way EXPLAIN can understand it). In the parameter list of REINDEX, it is
> > still called VERBOSE (not "( VERBOSE )") and there's no info
> > that parentheses are needed.
[snip]
> Mainly historical reasons. REINDEX VERBOSE has been added in 9.5.
> EXPLAIN VERBOSE is around since at least 7.1. Using options within
> parenthesis is preferred lately because it is much easier to make the
> grammar more extensible for future purposes and it eases the option
> parsing.
All well and good (although personally I think it's arguable whether
it's productive to have two different syntaxes for something that in
the user's perspective does the same thing). But if the parentheses
are part of the parameter, I think putting the parentheses in the
parameter list might be a good compromise.
Geoff
From | Date | Subject | |
---|---|---|---|
Next Message | Javier Ayres | 2019-11-18 13:01:04 | Re: Weird ranking results with ts_rank |
Previous Message | Michael Paquier | 2019-11-18 12:05:42 | Re: Authentication: MD5 to SCRAM-SHA-256 error |