Re: [BUGS] BUG #13810: cursor_to_xml ignores tableforest parameter - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: [BUGS] BUG #13810: cursor_to_xml ignores tableforest parameter
Date
Msg-id 98491633-1616-7e28-7eb1-1e8d1ef93831@2ndquadrant.com
Whole thread Raw
In response to Re: [BUGS] BUG #13810: cursor_to_xml ignores tableforest parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] BUG #13810: cursor_to_xml ignores tableforest parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 5/5/17 15:01, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>>>> You're right, this should have a <table>...</table> around it, like
>>>> query_to_xml() does.
> 
>> I have applied a fix for this to master.  I'll let the build farm take
>> it for a spin and then apply it to the backbranches.
> 
> I think this is missing an update for the documentation.  Section 9.14.4
> describes the wrapping nodes as being <tablename> --- don't we want that
> to match reality a bit better?

It also says "If no table name is available, that is, when mapping a
query or a cursor, the string `table` is used in the first format, `row`
in the second format.", so I think it's correct and complete.  (Could
have more examples perhaps, but not critical to bug fix backpatch.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Vitaliy Gomenyuk
Date:
Subject: Re: [BUGS] BUG #14635: Query is executed slower on hot standby slavedatabase then on master database
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #13810: cursor_to_xml ignores tableforest parameter