Re: ModifyTable EXPLAIN Node

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ModifyTable EXPLAIN Node
Date: 2011-03-08 00:44:37
Message-ID: 64AEBA71-BCD8-40CF-974D-4AC7F689E36D@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mar 7, 2011, at 4:41 PM, Tom Lane wrote:

> "David E. Wheeler" <david(at)kineticode(dot)com> writes:
>> I saw that Tom added the ModifyTable node to EXPLAIN output last week. I'd like to update my explanation extension to use it, but I've no idea what it would look like. Could someone send me an example in the XML format?
>
> It's already there in 9.0 --- I just added the relation-name property.
> But since you ask:
>
> regression=# explain (format xml) update int8_tbl set q1 = q1+1;
> QUERY PLAN
> -------------------------------------------------------------
> <explain xmlns="http://www.postgresql.org/2009/explain"> +
> <Query> +
> <Plan> +
> <Node-Type>ModifyTable</Node-Type> +
> <Operation>Update</Operation> +

Oh, just new values for the Node-Type and Operation elements. That's okay, then. I thought it was a new <ModifyTable> element. Great, nothing for me to change.

And thanks for sending this to me, much appreciated.

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-03-08 01:09:57 Re: Parallel make problem with git master
Previous Message Tom Lane 2011-03-08 00:41:10 Re: ModifyTable EXPLAIN Node