-
- Downloads
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 <the.apaan@gmail.com>
Showing
- src/backend/utils/adt/xml.c 9 additions, 5 deletionssrc/backend/utils/adt/xml.c
- src/test/regress/expected/xml.out 28 additions, 0 deletionssrc/test/regress/expected/xml.out
- src/test/regress/expected/xml_1.out 16 additions, 0 deletionssrc/test/regress/expected/xml_1.out
- src/test/regress/sql/xml.sql 4 additions, 0 deletionssrc/test/regress/sql/xml.sql
Loading
Please register or sign in to comment