Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7jct-00048e-RC for pgsql-bugs@arkaria.postgresql.org; Mon, 08 May 2017 14:27:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d7jct-00073d-EI for pgsql-bugs@arkaria.postgresql.org; Mon, 08 May 2017 14:27:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d7jcs-00071v-Rb for pgsql-bugs@postgresql.org; Mon, 08 May 2017 14:27:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d7jcn-0004pp-Go for pgsql-bugs@postgresql.org; Mon, 08 May 2017 14:27:02 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 515012075C; Mon, 8 May 2017 10:26:56 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 08 May 2017 10:26:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=0snY5VvVcVY9HUidDY52fJ24RvUdEoK8EwSmgjEkRf4=; b=BwtCeAEW yzmrQyBawgAWouPsiOxmH1rrsbObC2dTmVmqvm3VFOXwOUBMlxTxE6Mq3SnOd/s2 ueeDRlYm1UQCVEjPTVJxB4+90a2J7RJPCORBzpq85jnwF+fgmbj/pYJiMSxjoStm V63gODIN2A3qb9gJTFsGbuqt3Tgxh+JZ7xSdzrbPt50g9KOYEydoqRPUMadyx9Q/ QTd9JQgEInMe2usMJfAQDNCI1s4F3Eye7219GBrQ1Zzv2bJnoFxtP0st60A4faiF 7H5uBQRtDZExJyg/x+MPrqHg7/9J0tXtMr3dJglxsXAEVQ4aIZSsMz5mPqQzwsRO PfQhDTcP3JJzFA== X-ME-Sender: X-Sasl-enc: 1X9dWmahDsEwR9KaRmquj6oYn6Vu59VkuCWwNjarmp0I 1494253616 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id E00E8249CC; Mon, 8 May 2017 10:26:55 -0400 (EDT) Subject: Re: BUG #13810: cursor_to_xml ignores tableforest parameter To: Tom Lane References: <20151209140708.877.66922@wrigleys.postgresql.org> <5733c7bd-f8f8-2c9c-01b3-6c3f2760fa88@2ndquadrant.com> <523.1494010882@sss.pgh.pa.us> Cc: Thomas Munro , filip@jirsak.org, PostgreSQL Bugs From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <98491633-1616-7e28-7eb1-1e8d1ef93831@2ndquadrant.com> Date: Mon, 8 May 2017 10:26:55 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <523.1494010882@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 5/5/17 15:01, Tom Lane wrote: > Peter Eisentraut writes: >>>> You're right, this should have a ...
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 --- 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