From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression. |
Date: | 2018-06-20 16:58:42 |
Message-ID: | E1fVgRO-0005Gw-DX@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-06-20 17:06:50 | pgsql: Update expected XML output with disabled XML |
Previous Message | Alvaro Herrera | 2018-06-20 16:23:42 | Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding |