pgsql: Allow empty content in xml type

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Allow empty content in xml type
Дата
Msg-id E1XRNV5-000218-Ur@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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>

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Move ALTER ... ALL IN to ProcessUtilitySlow
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Reflect renaming of Mac OS X to OS X