Thread: [COMMITTERS] pgsql: Don't use SGML empty tags

[COMMITTERS] pgsql: Don't use SGML empty tags

From
Peter Eisentraut
Date:
Don't use SGML empty tags

For DocBook XML compatibility, don't use SGML empty tags (</>) anymore,
replace by the full tag name.  Add a warning option to catch future
occurrences.

Alexander Lakhin, Jürgen Purtz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c29c578908dc0271eeb13a4014e54bff07a29c05

Modified Files
--------------
doc/src/sgml/Makefile                             |    3 +-
doc/src/sgml/acronyms.sgml                        |   18 +-
doc/src/sgml/adminpack.sgml                       |   54 +-
doc/src/sgml/advanced.sgml                        |  110 +-
doc/src/sgml/amcheck.sgml                         |   66 +-
doc/src/sgml/arch-dev.sgml                        |   64 +-
doc/src/sgml/array.sgml                           |  110 +-
doc/src/sgml/auth-delay.sgml                      |    6 +-
doc/src/sgml/auto-explain.sgml                    |   36 +-
doc/src/sgml/backup.sgml                          |  496 ++--
doc/src/sgml/bgworker.sgml                        |   80 +-
doc/src/sgml/biblio.sgml                          |    2 +-
doc/src/sgml/bki.sgml                             |   86 +-
doc/src/sgml/bloom.sgml                           |   24 +-
doc/src/sgml/brin.sgml                            |   78 +-
doc/src/sgml/btree-gin.sgml                       |   18 +-
doc/src/sgml/btree-gist.sgml                      |   32 +-
doc/src/sgml/catalogs.sgml                        | 1012 ++++----
doc/src/sgml/charset.sgml                         |  270 +--
doc/src/sgml/citext.sgml                          |  120 +-
doc/src/sgml/client-auth.sgml                     |  328 +--
doc/src/sgml/config.sgml                          | 2156 ++++++++---------
doc/src/sgml/contrib-spi.sgml                     |   80 +-
doc/src/sgml/contrib.sgml                         |   26 +-
doc/src/sgml/cube.sgml                            |  158 +-
doc/src/sgml/custom-scan.sgml                     |  136 +-
doc/src/sgml/datatype.sgml                        |  692 +++---
doc/src/sgml/datetime.sgml                        |   72 +-
doc/src/sgml/dblink.sgml                          |  270 +--
doc/src/sgml/ddl.sgml                             |  390 +--
doc/src/sgml/dfunc.sgml                           |   40 +-
doc/src/sgml/dict-int.sgml                        |   18 +-
doc/src/sgml/dict-xsyn.sgml                       |   40 +-
doc/src/sgml/diskusage.sgml                       |   16 +-
doc/src/sgml/dml.sgml                             |   32 +-
doc/src/sgml/docguide.sgml                        |    2 +-
doc/src/sgml/earthdistance.sgml                   |   32 +-
doc/src/sgml/ecpg.sgml                            |  734 +++---
doc/src/sgml/errcodes.sgml                        |   18 +-
doc/src/sgml/event-trigger.sgml                   |   78 +-
doc/src/sgml/extend.sgml                          |  362 +--
doc/src/sgml/external-projects.sgml               |   18 +-
doc/src/sgml/fdwhandler.sgml                      |  880 +++----
doc/src/sgml/file-fdw.sgml                        |   48 +-
doc/src/sgml/func.sgml                            | 2528 +++++++++----------
doc/src/sgml/fuzzystrmatch.sgml                   |   26 +-
doc/src/sgml/generate-errcodes-table.pl           |    4 +-
doc/src/sgml/generic-wal.sgml                     |   42 +-
doc/src/sgml/geqo.sgml                            |   12 +-
doc/src/sgml/gin.sgml                             |  286 +--
doc/src/sgml/gist.sgml                            |  402 +--
doc/src/sgml/high-availability.sgml               |  516 ++--
doc/src/sgml/history.sgml                         |    4 +-
doc/src/sgml/hstore.sgml                          |  152 +-
doc/src/sgml/indexam.sgml                         |  446 ++--
doc/src/sgml/indices.sgml                         |  224 +-
doc/src/sgml/info.sgml                            |    6 +-
doc/src/sgml/information_schema.sgml              |  364 +--
doc/src/sgml/install-windows.sgml                 |   58 +-
doc/src/sgml/installation.sgml                    |  460 ++--
doc/src/sgml/intagg.sgml                          |   28 +-
doc/src/sgml/intarray.sgml                        |   68 +-
doc/src/sgml/intro.sgml                           |    4 +-
doc/src/sgml/isn.sgml                             |   28 +-
doc/src/sgml/json.sgml                            |  174 +-
doc/src/sgml/libpq.sgml                           | 1414 +++++------
doc/src/sgml/lo.sgml                              |   34 +-
doc/src/sgml/lobj.sgml                            |  128 +-
doc/src/sgml/logicaldecoding.sgml                 |   18 +-
doc/src/sgml/ltree.sgml                           |  234 +-
doc/src/sgml/maintenance.sgml                     |  338 +--
doc/src/sgml/manage-ag.sgml                       |  196 +-
doc/src/sgml/monitoring.sgml                      | 1440 +++++------
doc/src/sgml/mvcc.sgml                            |  130 +-
doc/src/sgml/nls.sgml                             |   24 +-
doc/src/sgml/notation.sgml                        |    8 +-
doc/src/sgml/oid2name.sgml                        |   60 +-
doc/src/sgml/pageinspect.sgml                     |   36 +-
doc/src/sgml/parallel.sgml                        |   96 +-
doc/src/sgml/perform.sgml                         |  344 +--
doc/src/sgml/pgbuffercache.sgml                   |   16 +-
doc/src/sgml/pgcrypto.sgml                        |  176 +-
doc/src/sgml/pgfreespacemap.sgml                  |    8 +-
doc/src/sgml/pgprewarm.sgml                       |   16 +-
doc/src/sgml/pgrowlocks.sgml                      |   10 +-
doc/src/sgml/pgstandby.sgml                       |  100 +-
doc/src/sgml/pgstatstatements.sgml                |  106 +-
doc/src/sgml/pgstattuple.sgml                     |   30 +-
doc/src/sgml/pgtrgm.sgml                          |   90 +-
doc/src/sgml/pgvisibility.sgml                    |   12 +-
doc/src/sgml/planstats.sgml                       |   52 +-
doc/src/sgml/plhandler.sgml                       |   50 +-
doc/src/sgml/plperl.sgml                          |  148 +-
doc/src/sgml/plpgsql.sgml                         | 1204 ++++-----
doc/src/sgml/plpython.sgml                        |  104 +-
doc/src/sgml/pltcl.sgml                           |  210 +-
doc/src/sgml/postgres-fdw.sgml                    |  198 +-
doc/src/sgml/postgres.sgml                        |   16 +-
doc/src/sgml/problems.sgml                        |   20 +-
doc/src/sgml/protocol.sgml                        |  474 ++--
doc/src/sgml/queries.sgml                         |  674 +++---
doc/src/sgml/query.sgml                           |   36 +-
doc/src/sgml/rangetypes.sgml                      |   66 +-
doc/src/sgml/recovery-config.sgml                 |  132 +-
doc/src/sgml/ref/abort.sgml                       |    2 +-
doc/src/sgml/ref/alter_aggregate.sgml             |   18 +-
doc/src/sgml/ref/alter_collation.sgml             |    2 +-
doc/src/sgml/ref/alter_conversion.sgml            |    2 +-
doc/src/sgml/ref/alter_database.sgml              |    4 +-
doc/src/sgml/ref/alter_default_privileges.sgml    |   20 +-
doc/src/sgml/ref/alter_domain.sgml                |   20 +-
doc/src/sgml/ref/alter_extension.sgml             |   22 +-
doc/src/sgml/ref/alter_foreign_data_wrapper.sgml  |   18 +-
doc/src/sgml/ref/alter_foreign_table.sgml         |   42 +-
doc/src/sgml/ref/alter_function.sgml              |   28 +-
doc/src/sgml/ref/alter_group.sgml                 |    8 +-
doc/src/sgml/ref/alter_index.sgml                 |   10 +-
doc/src/sgml/ref/alter_materialized_view.sgml     |    4 +-
doc/src/sgml/ref/alter_opclass.sgml               |    2 +-
doc/src/sgml/ref/alter_operator.sgml              |    2 +-
doc/src/sgml/ref/alter_opfamily.sgml              |   32 +-
doc/src/sgml/ref/alter_publication.sgml           |    8 +-
doc/src/sgml/ref/alter_role.sgml                  |   22 +-
doc/src/sgml/ref/alter_schema.sgml                |    2 +-
doc/src/sgml/ref/alter_sequence.sgml              |   34 +-
doc/src/sgml/ref/alter_server.sgml                |   12 +-
doc/src/sgml/ref/alter_statistics.sgml            |    4 +-
doc/src/sgml/ref/alter_subscription.sgml          |    4 +-
doc/src/sgml/ref/alter_system.sgml                |   12 +-
doc/src/sgml/ref/alter_table.sgml                 |  140 +-
doc/src/sgml/ref/alter_tablespace.sgml            |    4 +-
doc/src/sgml/ref/alter_trigger.sgml               |    4 +-
doc/src/sgml/ref/alter_tsconfig.sgml              |   20 +-
doc/src/sgml/ref/alter_tsdictionary.sgml          |    8 +-
doc/src/sgml/ref/alter_tsparser.sgml              |    2 +-
doc/src/sgml/ref/alter_tstemplate.sgml            |    2 +-
doc/src/sgml/ref/alter_type.sgml                  |    6 +-
doc/src/sgml/ref/alter_user_mapping.sgml          |   14 +-
doc/src/sgml/ref/alter_view.sgml                  |   10 +-
doc/src/sgml/ref/analyze.sgml                     |   16 +-
doc/src/sgml/ref/begin.sgml                       |    4 +-
doc/src/sgml/ref/close.sgml                       |    4 +-
doc/src/sgml/ref/cluster.sgml                     |   10 +-
doc/src/sgml/ref/clusterdb.sgml                   |   62 +-
doc/src/sgml/ref/comment.sgml                     |   26 +-
doc/src/sgml/ref/commit.sgml                      |    2 +-
doc/src/sgml/ref/commit_prepared.sgml             |    2 +-
doc/src/sgml/ref/copy.sgml                        |  226 +-
doc/src/sgml/ref/create_access_method.sgml        |    8 +-
doc/src/sgml/ref/create_aggregate.sgml            |  164 +-
doc/src/sgml/ref/create_cast.sgml                 |   80 +-
doc/src/sgml/ref/create_collation.sgml            |    2 +-
doc/src/sgml/ref/create_conversion.sgml           |    6 +-
doc/src/sgml/ref/create_database.sgml             |   54 +-
doc/src/sgml/ref/create_domain.sgml               |   22 +-
doc/src/sgml/ref/create_event_trigger.sgml        |    6 +-
doc/src/sgml/ref/create_extension.sgml            |   38 +-
doc/src/sgml/ref/create_foreign_data_wrapper.sgml |   12 +-
doc/src/sgml/ref/create_foreign_table.sgml        |   44 +-
doc/src/sgml/ref/create_function.sgml             |  128 +-
doc/src/sgml/ref/create_index.sgml                |  120 +-
doc/src/sgml/ref/create_language.sgml             |   42 +-
doc/src/sgml/ref/create_materialized_view.sgml    |   10 +-
doc/src/sgml/ref/create_opclass.sgml              |   38 +-
doc/src/sgml/ref/create_operator.sgml             |   24 +-
doc/src/sgml/ref/create_opfamily.sgml             |    4 +-
doc/src/sgml/ref/create_policy.sgml               |   20 +-
doc/src/sgml/ref/create_publication.sgml          |   14 +-
doc/src/sgml/ref/create_role.sgml                 |   94 +-
doc/src/sgml/ref/create_rule.sgml                 |   32 +-
doc/src/sgml/ref/create_schema.sgml               |   32 +-
doc/src/sgml/ref/create_sequence.sgml             |   28 +-
doc/src/sgml/ref/create_server.sgml               |    8 +-
doc/src/sgml/ref/create_statistics.sgml           |   10 +-
doc/src/sgml/ref/create_subscription.sgml         |    4 +-
doc/src/sgml/ref/create_table.sgml                |  294 +--
doc/src/sgml/ref/create_table_as.sgml             |   36 +-
doc/src/sgml/ref/create_tablespace.sgml           |   22 +-
doc/src/sgml/ref/create_trigger.sgml              |  172 +-
doc/src/sgml/ref/create_tsconfig.sgml             |    2 +-
doc/src/sgml/ref/create_tstemplate.sgml           |    2 +-
doc/src/sgml/ref/create_type.sgml                 |   98 +-
doc/src/sgml/ref/create_user.sgml                 |    4 +-
doc/src/sgml/ref/create_user_mapping.sgml         |   10 +-
doc/src/sgml/ref/create_view.sgml                 |  140 +-
doc/src/sgml/ref/createdb.sgml                    |   66 +-
doc/src/sgml/ref/createuser.sgml                  |  114 +-
doc/src/sgml/ref/declare.sgml                     |   56 +-
doc/src/sgml/ref/delete.sgml                      |   62 +-
doc/src/sgml/ref/discard.sgml                     |   10 +-
doc/src/sgml/ref/do.sgml                          |   18 +-
doc/src/sgml/ref/drop_access_method.sgml          |    4 +-
doc/src/sgml/ref/drop_aggregate.sgml              |   10 +-
doc/src/sgml/ref/drop_collation.sgml              |    4 +-
doc/src/sgml/ref/drop_conversion.sgml             |    2 +-
doc/src/sgml/ref/drop_database.sgml               |    2 +-
doc/src/sgml/ref/drop_domain.sgml                 |    6 +-
doc/src/sgml/ref/drop_extension.sgml              |    6 +-
doc/src/sgml/ref/drop_foreign_data_wrapper.sgml   |    6 +-
doc/src/sgml/ref/drop_foreign_table.sgml          |    2 +-
doc/src/sgml/ref/drop_function.sgml               |   12 +-
doc/src/sgml/ref/drop_index.sgml                  |   12 +-
doc/src/sgml/ref/drop_language.sgml               |    4 +-
doc/src/sgml/ref/drop_opclass.sgml                |   12 +-
doc/src/sgml/ref/drop_opfamily.sgml               |    4 +-
doc/src/sgml/ref/drop_owned.sgml                  |    2 +-
doc/src/sgml/ref/drop_publication.sgml            |    2 +-
doc/src/sgml/ref/drop_role.sgml                   |    4 +-
doc/src/sgml/ref/drop_schema.sgml                 |    2 +-
doc/src/sgml/ref/drop_sequence.sgml               |    2 +-
doc/src/sgml/ref/drop_server.sgml                 |    6 +-
doc/src/sgml/ref/drop_subscription.sgml           |    2 +-
doc/src/sgml/ref/drop_table.sgml                  |    6 +-
doc/src/sgml/ref/drop_tablespace.sgml             |    6 +-
doc/src/sgml/ref/drop_tsconfig.sgml               |    4 +-
doc/src/sgml/ref/drop_tsdictionary.sgml           |    2 +-
doc/src/sgml/ref/drop_tsparser.sgml               |    2 +-
doc/src/sgml/ref/drop_tstemplate.sgml             |    2 +-
doc/src/sgml/ref/drop_type.sgml                   |    4 +-
doc/src/sgml/ref/drop_user_mapping.sgml           |   14 +-
doc/src/sgml/ref/drop_view.sgml                   |    2 +-
doc/src/sgml/ref/dropdb.sgml                      |   48 +-
doc/src/sgml/ref/dropuser.sgml                    |   46 +-
doc/src/sgml/ref/ecpg-ref.sgml                    |    6 +-
doc/src/sgml/ref/end.sgml                         |    2 +-
doc/src/sgml/ref/execute.sgml                     |    4 +-
doc/src/sgml/ref/explain.sgml                     |   18 +-
doc/src/sgml/ref/fetch.sgml                       |   36 +-
doc/src/sgml/ref/grant.sgml                       |   98 +-
doc/src/sgml/ref/import_foreign_schema.sgml       |   14 +-
doc/src/sgml/ref/initdb.sgml                      |   42 +-
doc/src/sgml/ref/insert.sgml                      |   86 +-
doc/src/sgml/ref/listen.sgml                      |    6 +-
doc/src/sgml/ref/load.sgml                        |   14 +-
doc/src/sgml/ref/lock.sgml                        |   72 +-
doc/src/sgml/ref/move.sgml                        |    2 +-
doc/src/sgml/ref/notify.sgml                      |   12 +-
doc/src/sgml/ref/pg_basebackup.sgml               |   40 +-
doc/src/sgml/ref/pg_config-ref.sgml               |  100 +-
doc/src/sgml/ref/pg_controldata.sgml              |    8 +-
doc/src/sgml/ref/pg_ctl-ref.sgml                  |   50 +-
doc/src/sgml/ref/pg_dump.sgml                     |  280 +--
doc/src/sgml/ref/pg_dumpall.sgml                  |  102 +-
doc/src/sgml/ref/pg_isready.sgml                  |   32 +-
doc/src/sgml/ref/pg_receivewal.sgml               |   34 +-
doc/src/sgml/ref/pg_recvlogical.sgml              |   26 +-
doc/src/sgml/ref/pg_resetwal.sgml                 |   56 +-
doc/src/sgml/ref/pg_restore.sgml                  |  150 +-
doc/src/sgml/ref/pg_rewind.sgml                   |   48 +-
doc/src/sgml/ref/pg_waldump.sgml                  |   16 +-
doc/src/sgml/ref/pgarchivecleanup.sgml            |   50 +-
doc/src/sgml/ref/pgbench.sgml                     |  568 ++---
doc/src/sgml/ref/pgtestfsync.sgml                 |   16 +-
doc/src/sgml/ref/pgtesttiming.sgml                |   10 +-
doc/src/sgml/ref/pgupgrade.sgml                   |  232 +-
doc/src/sgml/ref/postgres-ref.sgml                |   76 +-
doc/src/sgml/ref/postmaster.sgml                  |    2 +-
doc/src/sgml/ref/prepare.sgml                     |   18 +-
doc/src/sgml/ref/prepare_transaction.sgml         |   30 +-
doc/src/sgml/ref/psql-ref.sgml                    |  662 ++---
doc/src/sgml/ref/reassign_owned.sgml              |    2 +-
doc/src/sgml/ref/refresh_materialized_view.sgml   |    4 +-
doc/src/sgml/ref/reindex.sgml                     |   34 +-
doc/src/sgml/ref/reindexdb.sgml                   |   80 +-
doc/src/sgml/ref/release_savepoint.sgml           |    2 +-
doc/src/sgml/ref/reset.sgml                       |   10 +-
doc/src/sgml/ref/revoke.sgml                      |   48 +-
doc/src/sgml/ref/rollback.sgml                    |    2 +-
doc/src/sgml/ref/rollback_prepared.sgml           |    2 +-
doc/src/sgml/ref/rollback_to.sgml                 |   28 +-
doc/src/sgml/ref/savepoint.sgml                   |    8 +-
doc/src/sgml/ref/security_label.sgml              |   22 +-
doc/src/sgml/ref/select.sgml                      |  598 ++---
doc/src/sgml/ref/set.sgml                         |   44 +-
doc/src/sgml/ref/set_constraints.sgml             |   14 +-
doc/src/sgml/ref/set_role.sgml                    |   36 +-
doc/src/sgml/ref/set_session_auth.sgml            |   16 +-
doc/src/sgml/ref/set_transaction.sgml             |   12 +-
doc/src/sgml/ref/show.sgml                        |    2 +-
doc/src/sgml/ref/start_transaction.sgml           |    6 +-
doc/src/sgml/ref/truncate.sgml                    |   38 +-
doc/src/sgml/ref/unlisten.sgml                    |    2 +-
doc/src/sgml/ref/update.sgml                      |   88 +-
doc/src/sgml/ref/vacuum.sgml                      |   24 +-
doc/src/sgml/ref/vacuumdb.sgml                    |   52 +-
doc/src/sgml/ref/values.sgml                      |   60 +-
doc/src/sgml/regress.sgml                         |  122 +-
doc/src/sgml/release-10.sgml                      |  736 +++---
doc/src/sgml/release-7.4.sgml                     |  700 +++---
doc/src/sgml/release-8.0.sgml                     | 1266 +++++-----
doc/src/sgml/release-8.1.sgml                     | 1344 +++++-----
doc/src/sgml/release-8.2.sgml                     | 1598 ++++++------
doc/src/sgml/release-8.3.sgml                     | 1682 ++++++-------
doc/src/sgml/release-8.4.sgml                     | 2468 +++++++++----------
doc/src/sgml/release-9.0.sgml                     | 2572 ++++++++++----------
doc/src/sgml/release-9.1.sgml                     | 2678 ++++++++++----------
doc/src/sgml/release-9.2.sgml                     | 2694 ++++++++++-----------
doc/src/sgml/release-9.3.sgml                     | 2518 +++++++++----------
doc/src/sgml/release-9.4.sgml                     | 2142 ++++++++--------
doc/src/sgml/release-9.5.sgml                     | 1800 +++++++-------
doc/src/sgml/release-9.6.sgml                     | 1516 ++++++------
doc/src/sgml/release-old.sgml                     |  314 +--
doc/src/sgml/release.sgml                         |    2 +-
doc/src/sgml/rowtypes.sgml                        |  130 +-
doc/src/sgml/rules.sgml                           |  326 +--
doc/src/sgml/runtime.sgml                         |  610 ++---
doc/src/sgml/seg.sgml                             |   70 +-
doc/src/sgml/sepgsql.sgml                         |  190 +-
doc/src/sgml/sourcerepo.sgml                      |   24 +-
doc/src/sgml/sources.sgml                         |  170 +-
doc/src/sgml/spgist.sgml                          |  468 ++--
doc/src/sgml/spi.sgml                             |  226 +-
doc/src/sgml/sslinfo.sgml                         |   14 +-
doc/src/sgml/start.sgml                           |   22 +-
doc/src/sgml/storage.sgml                         |  328 +--
doc/src/sgml/syntax.sgml                          |  362 +--
doc/src/sgml/tablefunc.sgml                       |  168 +-
doc/src/sgml/tablesample-method.sgml              |  128 +-
doc/src/sgml/tcn.sgml                             |    8 +-
doc/src/sgml/test-decoding.sgml                   |    4 +-
doc/src/sgml/textsearch.sgml                      |  734 +++---
doc/src/sgml/trigger.sgml                         |  220 +-
doc/src/sgml/tsm-system-rows.sgml                 |    8 +-
doc/src/sgml/tsm-system-time.sgml                 |    8 +-
doc/src/sgml/typeconv.sgml                        |  122 +-
doc/src/sgml/unaccent.sgml                        |   44 +-
doc/src/sgml/user-manag.sgml                      |  138 +-
doc/src/sgml/uuid-ossp.sgml                       |   26 +-
doc/src/sgml/vacuumlo.sgml                        |   42 +-
doc/src/sgml/wal.sgml                             |  138 +-
doc/src/sgml/xaggr.sgml                           |  160 +-
doc/src/sgml/xfunc.sgml                           |  614 ++---
doc/src/sgml/xindex.sgml                          |  192 +-
doc/src/sgml/xml2.sgml                            |   58 +-
doc/src/sgml/xoper.sgml                           |  142 +-
doc/src/sgml/xplang.sgml                          |   26 +-
doc/src/sgml/xtypes.sgml                          |   68 +-
337 files changed, 31636 insertions(+), 31635 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers