git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f0051c1) | patch
Allow empty content in xml type
Tue, 9 Sep 2014 15:34:52 +0000 (11:34 -0400)
Tue, 9 Sep 2014 15:34:52 +0000 (11:34 -0400)
commit 57b1085df55d092e2a728043ec607db8fdef2483
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>
src/backend/utils/adt/xml.c diff | blob | blame | history
src/test/regress/expected/xml.out diff | blob | blame | history
src/test/regress/expected/xml_1.out diff | blob | blame | history
src/test/regress/sql/xml.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /