Allow empty content in xml type The xml type previously rejected "content" that is empty or consists only of spaces. But the SQL/XML standard allows that, so change that. The accepted values for XML "documents" are not changed.
Reviewed-by: Ali Akbar <[email protected]> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/57b1085df55d092e2a728043ec607db8fdef2483 Modified Files -------------- src/backend/utils/adt/xml.c | 14 +++++++++----- src/test/regress/expected/xml.out | 28 ++++++++++++++++++++++++++++ src/test/regress/expected/xml_1.out | 16 ++++++++++++++++ src/test/regress/sql/xml.sql | 4 ++++ 4 files changed, 57 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
