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.

...Robert

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

Reply via email to