Hi,
On 06/16/2009 04:32 PM, Robert Haas wrote:
On Tue, Jun 16, 2009 at 10:30 AM, Andres Freund<and...@anarazel.de> wrote:
How would you model something like:
<plans>
<plan> ...</plan>
<plan> ...</plan>
...
</plans>
otherwise?
There are potentially unlimited number of child nodes - AppendNode for
example can have any number of them. Sure, you can give each<plan> node a
'offset=' id, but that doesn't buy much.
I don't see how that could be much improved by using child-nodes (or even
worse attributes).
Note that even in this case we DON'T rely on the ordering of the
nodes. The inner<plan> nodes have child nodes which contain their
relationship to the parent.
Not in the case of Append nodes, but I fail to see a problem there, so...
Andres
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers