pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/068739fb4f345c8c922d72f2c8e15e9c0a75056d

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/840729fd104e6ff35e0a6ebcf06ad053403a96f5

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix incorrect xmlschema output for types timetz and timestamptz.
@ 2022-03-18 20:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2022-03-18 20:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_10_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2022-03-18 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>
2022-03-18 20:02 pgsql: Fix incorrect xmlschema output for types timetz and timestamptz. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox