pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
Date: 2022-03-18 20:02:04
Message-ID: E1nVInU-000JWH-55@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/88ae77588d9a891c492f8ba543b3c1064c7a8ef3

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-03-18 20:04:10 Re: pgsql: Add option to use ICU as global locale provider
Previous Message Peter Eisentraut 2022-03-18 19:30:21 Re: pgsql: Add option to use ICU as global locale provider