[COMMITTERS] pgsql: Fix cursor_to_xml in tableforest false mode - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Fix cursor_to_xml in tableforest false mode
Date
Msg-id E1d6TEx-0000KG-0j@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a48d47908337ce3a17da37e413f1e2ea658552f9

Modified Files
--------------
src/backend/utils/adt/xml.c            | 10 ++++++
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, 68 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: [COMMITTERS] pgsql: Change the way pg_dump retrieves partitioning info
Next
From: Heikki Linnakangas
Date:
Subject: [COMMITTERS] pgsql: Don't use SCRAM-specific "e=invalid-proof" on invalid password.