Re: REINDEX VERBOSE unknown option

"Peter J. Holzer" <[email protected]>
Newsgroups gmane.comp.db.postgresql.general
Message-ID <[email protected]>
On 2019-11-21 09:43:26 +0000, Geoff Winkless wrote:
> On Wed, 20 Nov 2019 at 22:48, Peter J. Holzer <[email protected]> wrote:
> >
> > 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.
> 
> It wasn't meant to be insulting, I meant "esoteric" in the strict
> sense: that you need to have specific knowledge to parse them.

I didn't understand it as insulting (why would I?), but don't think this
convention is "requiring ... knowledge that is restricted to a small
group" (Merriam-Webster). This specific convention for conveying grammar
rules is in my experience by far the most common (before BNF and
diagrams). Anybody who has read any documentation about any formal
language (e.g., a programming language, a query language, a markup or
configuration language) has very likely encountered it before.

Yes, you need specific knowledge to understand the PostgreSQL
documentation. For starters, you need to know English (or one the
handful languages in which it has been translated). You need to know
what a relational database is and why and how you would use one. You
need some generic knowledge about computing (what is a "client/server
model"? How do I start a command line tool?), etc. The convention for
describing the grammar is probably the least concern, and besides, it is
explained in the manual (unlike some concepts which are assumed to be
known).


> My point was that modifying the rules (by making certain things bold
> or italic) wouldn't really solve the problem - if you don't know what
> the rules are, you're unlikely to be any better off if someone adds to
> them.

Man is a pattern-matching animal. Even without an explicit explanation,
humans are quite good at deriving meaning from repeated patterns. So if
the parts you have to type verbatim are always printed in bold and parts
which have a meta-meaning are always printed in italic and optional
parts are always enclosed in (italic) square brackets, people are very
likely to understand that
    <i>[</i> <b>( VERBOSE )</b> <i>]</i>
means that "( VERBOSE )" must be typed as is, but is optional. Even if
they can't tell you the rules. Simply because they have seen it a few
dozen times before. There is a reason why almost any technical
documentation uses some typographical convention and why those
conventions are almost always very similar.

The PostgreSQL manual unfortunately uses the same typographic convention
for meta-characters ([], {}, |, ...) and terminals, which isn't as clear
as it could be.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | [email protected]         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl3Wrg0ACgkQ8g5IURL+
KF0t0g//evEPPEhykCovax+VKVwxLTp+/mV0sqXdW1gI8+Z6cm8TVXLrVOfn1D/i
k8ZiQUNTdl9QIWFE2b6+jpP+C0ZAF6G3bJXW8lTvWk+3a8dit1CP3avvGCA/YkVU
VVEPlvZlpI3O3ea6qyuT/7HyHd0Djx8Qz6RBGjSoe2hYfpgGf8U34bqnMqhVxo9h
3dPdvoLQnat5Z7Ahn5leEFa2Zsfc6d0Fdh0yV6V53JPatqBR0XrW4KhgRxT04zM/
Y9F7VwXHLiIJJjqnxua0CzvhcdJ/cF92D8L0/sqgJqX8hsuiXYdydA0DiXAJLOeb
DPZSgBTHfJRAILSBYsPirWy4L8WmLAlVaM2OWzEZOZhdV72pXpGPZfvYjM5oRDKC
uR9ka23OiZlVIYiwYrc/honTjClm3fbiBFj7+KEYEMQJiX63R639SmEKFNAMj1OJ
8ZRVb7tCEbjvH+cUxUhEwBK7PVJSaatviRqj/V1+38eC9ydDGQN1xCLbrB5BK4TV
JwqOTkBtrU9H/SDI7cFMQA4IU3XCOz4CrBvBq6/l1NXkOKdZoSU5s3x5R/LmWKXV
JaCU4xEc3hFzla+Tt1yRG26LiLeWfqHoa6zZErFOL2hoqphan8eRdnq87dKPbA/S
ObI0gQnmoYl1tc24G4r3Q3bNaqxx5e4YBCeNm2guHMA67lzEwGg=
=Ajqt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.