From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: filip@jirsak.org, PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13810: cursor_to_xml ignores tableforest parameter
Date: Mon, 8 May 2017 10:26:55 -0400
Message-ID: <98491633-1616-7e28-7eb1-1e8d1ef93831@2ndquadrant.com> (raw)
In-Reply-To: <523.1494010882@sss.pgh.pa.us>
References: <20151209140708.877.66922@wrigleys.postgresql.org>
<fd3cc50b-5f07-c1ad-11df-11f12f43eb6c@2ndquadrant.com>
<CAEepm=0cOJ0husMuP77jU_Bb5YLSyBj4Qv855n0nWWqnzSnjYw@mail.gmail.com>
<5733c7bd-f8f8-2c9c-01b3-6c3f2760fa88@2ndquadrant.com>
<523.1494010882@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com
Subject: Re: BUG #13810: cursor_to_xml ignores tableforest parameter
In-Reply-To: <98491633-1616-7e28-7eb1-1e8d1ef93831@2ndquadrant.com>
References: <20151209140708.877.66922@wrigleys.postgresql.org> <fd3cc50b-5f07-c1ad-11df-11f12f43eb6c@2ndquadrant.com> <CAEepm=0cOJ0husMuP77jU_Bb5YLSyBj4Qv855n0nWWqnzSnjYw@mail.gmail.com> <5733c7bd-f8f8-2c9c-01b3-6c3f2760fa88@2ndquadrant.com> <523.1494010882@sss.pgh.pa.us> <98491633-1616-7e28-7eb1-1e8d1ef93831@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox