Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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?
regards, tom lane