BUG #13810: cursor_to_xml ignores tableforest parameter

From: filip(at)jirsak(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13810: cursor_to_xml ignores tableforest parameter
Date: 2015-12-09 14:07:08
Message-ID: 20151209140708.877.66922@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13810
Logged by: Filip Jirsák
Email address: filip(at)jirsak(dot)org
PostgreSQL version: 9.4.5
Operating system: x86_64-pc-linux-gnu
Description:

CREATE FUNCTION test_cursor_to_xml() RETURNS xml AS $$
DECLARE
curs CURSOR FOR SELECT generate_series(1, 5);
BEGIN
OPEN curs;
RETURN cursor_to_xml(curs, 10, TRUE, FALSE, '');
END;
$$ LANGUAGE plpgsql;

SELECT test_cursor_to_xml();

This returns XML forrest instead of XML document with single root.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2015-12-09 19:18:09 Re: BUG #13808: Upsert not working
Previous Message alexander.ashurkov 2015-12-09 11:26:42 BUG #13809: Reassign owned throws error