pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression.
@ 2018-06-20 16:58 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-06-20 16:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Accept TEXT and CDATA nodes in XMLTABLE's column_expression.

Column expressions that match TEXT or CDATA nodes must return the
contents of the nodes themselves, not the content of non-existing
children (i.e. the empty string).

Author: Markus Winand
Reported-by: Markus Winand
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/0684A598-002C-42A2-AE12-F024A324EAE4@winand.at

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/xml.c         | 24 ++++++++++++++----------
src/test/regress/expected/xml.out   | 12 ++++++------
src/test/regress/expected/xml_2.out | 12 ++++++------
src/test/regress/sql/xml.sql        |  4 ++--
4 files changed, 28 insertions(+), 24 deletions(-)



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

* pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression.
@ 2018-06-20 16:58 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-06-20 16:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Accept TEXT and CDATA nodes in XMLTABLE's column_expression.

Column expressions that match TEXT or CDATA nodes must return the
contents of the nodes themselves, not the content of non-existing
children (i.e. the empty string).

Author: Markus Winand
Reported-by: Markus Winand
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/0684A598-002C-42A2-AE12-F024A324EAE4@winand.at

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/backend/utils/adt/xml.c         | 24 ++++++++++++++----------
src/test/regress/expected/xml.out   | 12 ++++++------
src/test/regress/expected/xml_2.out | 12 ++++++------
src/test/regress/sql/xml.sql        |  4 ++--
4 files changed, 28 insertions(+), 24 deletions(-)



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


end of thread, other threads:[~2018-06-20 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-06-20 16:58 pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression. Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-06-20 16:58 pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression. Alvaro Herrera <alvherre@alvh.no-ip.org>

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