pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression.

2018-06-20 Thread Alvaro Herrera
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 H

pgsql: Accept TEXT and CDATA nodes in XMLTABLE's column_expression.

2018-06-20 Thread Alvaro Herrera
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 H