Rethink \crosstabview's argument parsing logic.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6f0d6a507889d94a79c0d18577a0cb1ccc2b6815
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-15T02:54:31Z
Releases: 9.6.0
Rethink \crosstabview's argument parsing logic.

\crosstabview interpreted its arguments in an unusual way, including
doing case-insensitive matching of unquoted column names, which is
surely not the right thing.  Rip that out in favor of doing something
equivalent to the dequoting/case-folding rules used by other psql
commands.  To keep it simple, change the syntax so that the optional
sort column is specified as a separate argument, instead of the
also-quite-unusual syntax that attached it to the colH argument with
a colon.

Also, rework the error messages to be closer to project style.

Files

Documentation touched