generate documentation keywords table automatically

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: generate documentation keywords table automatically
Date: 2019-04-27 07:33:47
Message-ID: 07daeadd-8c82-0d95-5e19-e350502cb749@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The SQL keywords table in the documentation had until now been generated
by me every year by some ad hoc scripting outside the source tree once
for each major release. This patch changes it to an automated process.

We have the PostgreSQL keywords available in a parseable format in
parser/kwlist.h[*]. For the relevant SQL standard versions, keep the
keyword lists in new text files. A new script
generate-keywords-table.pl pulls it all together and produces a DocBook
table.

The final output in the documentation should be identical after this
change.

(Updates for SQL:2016 to come.)

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-doc-Generate-keywords-table-automatically.patch text/plain 157.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2019-04-27 11:40:49 Re: Optimizer items in the release notes
Previous Message Fabien COELHO 2019-04-27 07:19:57 nRe: [PATCH v1] Show whether tables are logged in \dt+