Re: machine-readable explain output - Mailing list pgsql-hackers

From Andres Freund
Subject Re: machine-readable explain output
Date
Msg-id 4A37B33A.6070606@anarazel.de
Whole thread Raw
In response to Re: machine-readable explain output  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: machine-readable explain output  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 06/16/2009 04:32 PM, Robert Haas wrote:
> On Tue, Jun 16, 2009 at 10:30 AM, Andres Freund<andres@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


pgsql-hackers by date:

Previous
From: Jeremy Kerr
Date:
Subject: Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Next
From: Andrew Dunstan
Date:
Subject: Re: machine-readable explain output