[COMMITTERS] pgsql: Fix cursor_to_xml in tableforest false mode

Поиск
Список
Период
Сортировка
Искать

[COMMITTERS] pgsql: Fix cursor_to_xml in tableforest false mode

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Fix cursor_to_xml in tableforest false mode

It only produced  elements but no wrapping  element.

By contrast, cursor_to_xmlschema produced a schema that is now correct
but did not previously match the XML data produced by cursor_to_xml.

In passing, also fix a minor misunderstanding about moving cursors in
the tests related to this.

Reported-by: filip@jirsak.org
Based-on-patch-by: Thomas Munro 

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0de791ed760614991e7cb8a78fddd6874ea6919d

Modified Files
--------------
src/backend/utils/adt/xml.c            | 13 +++++++
src/test/regress/expected/xmlmap.out   | 64 +++++++++++++++++++++++++++-------
src/test/regress/expected/xmlmap_1.out |  6 +++-
src/test/regress/sql/xmlmap.sql        |  3 +-
4 files changed, 71 insertions(+), 15 deletions(-)

FAQ