pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
Date
Msg-id E1nVInU-000JWM-60@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix incorrect xmlschema output for types timetz and timestamptz.

The output of table_to_xmlschema() and allied functions includes
a regex describing valid values for these types ... but the regex
was itself invalid, as it failed to escape a literal "+" sign.

Report and fix by Renan Soares Lopes.  Back-patch to all
supported branches.

Discussion: https://postgr.es/m/7f6fabaa-3f8f-49ab-89ca-59fbfe633105@me.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/84f3ecdaae8333d4e4815f34726fd07e46c3e3d4

Modified Files
--------------
src/backend/utils/adt/xml.c            |   4 +-
src/test/regress/expected/xmlmap.out   | 928 ++++++++++++++++++---------------
src/test/regress/expected/xmlmap_1.out |  10 +-
src/test/regress/sql/xmlmap.sql        |  10 +-
4 files changed, 514 insertions(+), 438 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Add option to use ICU as global locale provider
Next
From: Andres Freund
Date:
Subject: pgsql: ci: compile with -Og where applicable.