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>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-05-18T16:22:15Z
Lists: pgsql-hackers
On 17.05.22 17:09, Tom Lane wrote:
>> By a quick look it seems to me that the "match" in "COPY.. HEADER
>> match" is the first and only instance of a literal parameter as of
>> PG15.
> Isn't that a documentation bug rather than a problem with create_help?

Yeah, there is no need for a <literal> inside a <synopsis>.  So I just 
removed it.



Commits

  1. doc: Improve COPY synopsis

  2. Fix markup in synopsis