Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWpSB-000843-54 for pgsql-general@arkaria.postgresql.org; Mon, 18 Nov 2019 22:25:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iWpS9-0001fI-Tf for pgsql-general@arkaria.postgresql.org; Mon, 18 Nov 2019 22:25:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWpS9-0001fB-Gu for pgsql-general@lists.postgresql.org; Mon, 18 Nov 2019 22:25:01 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iWpS3-0006Vg-Ml for pgsql-general@lists.postgresql.org; Mon, 18 Nov 2019 22:25:00 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id D4DCE1530; Mon, 18 Nov 2019 23:24:52 +0100 (CET) Date: Mon, 18 Nov 2019 23:24:52 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: REINDEX VERBOSE unknown option Message-ID: <20191118222452.GA31017@hjp.at> References: <20191118064210.GD1543@paquier.xyz> <20191118114608.GE1543@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --envbJBWh7q8WU6mo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-11-18 12:24:40 +0000, Geoff Winkless wrote: > On Mon, 18 Nov 2019 at 11:46, Michael Paquier wrote: > > On Mon, Nov 18, 2019 at 10:27:24AM +0100, Josef =C5=A0im=C3=A1nek wrote: > > > This is clear once you understand what does it mean. I was aware of V= ERBOSE > > > 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. [...] > But if the parentheses are part of the parameter, I think putting the > parentheses in the parameter list might be a good compromise. The parentheses aren't part of the parameter. They are part of the syntax of the command. It might useful to distinguish better between symbols which must be typed as shown ("REINDEX", "(", ")", etc. in this case) and those which describe the grammar ("[", "]", "name" in this case). Maybe print the square brackets in bold and italics like "name"? But that is just the opposite of the usual convention. How about this? * Terminals (stuff that has to be typed as shown) in bold. * Non-Terminals (stuff which has to be replaced) in italic. * Meta-characters ([, ], |, ...) in regular type. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --envbJBWh7q8WU6mo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl3TGjAACgkQ8g5IURL+ KF0gAQ//W6QKI8aWB35FssN3pvV4jE9rfQb/W2NqHcuEoGZa1K9JHBQn9O9gqbBt OMqmVHxEUEPAJDe7pRhTNXzCg/F7yUXDKq6CWUfH09yGV+50h1B0dAQmCclfGk7m pa8DmLvhFHUtVYsuVBfCdo7BEQSOPmq/Sy7EjxgMlzSC4IbrfbSOlnVypeqZymMT 3gzfmLVfW2knNlbEsPMMxsE7PivyciVdTTntFA2VQiIWx5lTbZCUOIYt90QWO8/R /WbJPw9avbINyF4dm2gyE+l22o48AJNYa2rsTa38Jx+VehZ18azV/WHVK8N0V1z3 BSZqAxNas2I96GON5H0C3D5wvcW9zOWGTds4kT5NEG5EsapBROJCQThdRnmfLA6U xHhhroNepS8y2Y2Bgx6TDreX1SnBTvp9xkzmgkpoMFqOJToAhz7KbdTutN/1qfe6 FmiPHWYU+DgH+kbInjn+pLt5B6ScQR3X9+mXmvK15EUZkKmdiMl5OGF8lqFsMV/6 +wSDZwrn5T7YdjXvkmW1BqOVH5uGWoE0lVKnPFJfgc4+J1T0ltyAQdCjeFXLZtQ7 tk50lGsQejziHcL/z5IlFJ5xLdXRt6Slf1NNO6qoRIvzlt8BDur9oWMMSlc/fb/L GKkFi+eO9CmFoCXpQCciEKx9Cx2C7Om86GOOlj/5Zq5sYEK4cPw= =afjt -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--