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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4dd4104) | patch
Fix cursor_to_xml in tableforest false mode
Thu, 4 May 2017 01:25:01 +0000 (21:25 -0400)
Thu, 4 May 2017 01:41:10 +0000 (21:41 -0400)
commit 0de791ed760614991e7cb8a78fddd6874ea6919d
Fix cursor_to_xml in tableforest false mode

It only produced <row> elements but no wrapping <table> 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 <thomas.munro@enterprisedb.com>
src/backend/utils/adt/xml.c diff | blob | blame | history
src/test/regress/expected/xmlmap.out diff | blob | blame | history
src/test/regress/expected/xmlmap_1.out diff | blob | blame | history
src/test/regress/sql/xmlmap.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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