Re: create_help.pl treats <literal> as replaceable

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-05-23T11:11:47Z
Lists: pgsql-hackers
On 18.05.22 18:29, Tom Lane wrote:
> I think you should have upper-cased MATCH while at it, to make it clear
> that it acts like a keyword in this context.  The current situation is
> quite unreadable in plain-ASCII output:
> 
> regression=# \help copy
> Command:     COPY
> ...
>      HEADER [ boolean | match ]
> ...
> 
> Since "boolean" is a metasyntactic variable here, it's absolutely
> not obvious that "match" isn't.

done



Commits

  1. doc: Improve COPY synopsis

  2. Fix markup in synopsis