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 1iXYm2-00055U-BT for pgsql-general@arkaria.postgresql.org; Wed, 20 Nov 2019 22:48:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iXYm0-0006Zt-RE for pgsql-general@arkaria.postgresql.org; Wed, 20 Nov 2019 22:48:32 +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 1iXYm0-0006Zm-ED for pgsql-general@lists.postgresql.org; Wed, 20 Nov 2019 22:48:32 +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 1iXYlv-0005Ad-DL for pgsql-general@lists.postgresql.org; Wed, 20 Nov 2019 22:48:31 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 7D8D31578; Wed, 20 Nov 2019 23:48:23 +0100 (CET) Date: Wed, 20 Nov 2019 23:48:23 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: REINDEX VERBOSE unknown option Message-ID: <20191120224823.GA18704@hjp.at> References: <20191118064210.GD1543@paquier.xyz> <20191118114608.GE1543@paquier.xyz> <20191118222452.GA31017@hjp.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" 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 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-11-19 11:37:04 +0000, Geoff Winkless wrote: > Even if you do that you're still requiring the user to parse syntax > according to esoteric rules. Oh, please. Those "esoteric rules" have been in wide-spread use for decades. If you look at any manual which tries to explain the syntax of a programming language, markup language or something similar in a (semi-)formal way, it probably uses something very similar. (More formal texts often use BNF (or a variant), which are more expressive, but harder to read. Personally I like syntax diagrams (sometimes called railroad diagrams, but they seem to have mostly fallen out of fashion) And of course, like almost any manual, the PostgreSQL manual explains the notation in the preface: https://www.postgresql.org/docs/current/notation.html (Paper books are at an advantage here that readers usually actually start at the beginning) hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl3VwrIACgkQ8g5IURL+ KF0GGA//U5HatTzTcOiEFFE9zckEP8IAj6UnkINsadSy5FUJeaPRyfHliHB/NdYD ECxJ8wwsoQWeKwCuxoPMYLFqx2MCUmb/J7zjUrrYAyCtuao1sYA+qL7solD4o6xK E37XgEmYbrKvY7MmAtzl0SYcWRHTJJYGpA7Bp58c2QifHQwhncGrpuru6R5+9Ud9 SDy+MTVoro4szA05b76pJ/MnruqwtmoQha/nE7kqHoUVb/xbzxeFp84+um0WlVIU Hbz7/pHeVUqTuMyULiAevyUPNlycNkHqqm3S2vhLcPqO3Z4CH+nEiH/Emogphquu 4CGf/GIDA2/NNBRFclepwtuR34KJbjgpn/97nJ63VCu352KOCCGKYP2+8xDVsJNB JZy05DvVgELkfxaZWnn47kt+Z0k9NWVfxhW3oWhiJtrnq3ia9pIKUA8WEBVOMCh+ oV9Bq6D4EvgEjKIE5rd0u7DuPh6Na9WPIF1tUJlIbY3qnQgRUOquB3G3N60cqaRO U1d9eKeaNuH15LGr92wRhkeN4vwxbY/24Rxkj08whxa3/g4LwArfBDIkcL6mt7gd OBbwy8PwhJpj05QhwyzFBBSemmSi0jrp2pxS/d0NNETyeBAR8BX2ymcfEN1400U6 xIvaImJYtz6vGH/G8BeSfmG58eym2C3xgLEW87BJV8ujnxB1rqw= =TCH8 -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--