Re: Easily reading debug_print_plan - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: Easily reading debug_print_plan
Date
Msg-id 528C714A.3040509@gmail.com
Whole thread Raw
In response to Easily reading debug_print_plan  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Easily reading debug_print_plan  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 11/20/2013 09:12 AM, Craig Ringer wrote:
> Hi all
> 
> I'm spending a lot of time staring at parse and plan trees at the
> moment, and I'm finding reading them rather cumbersome.
> 
> For those of you who do this a lot, do you use any sort of tooling to
> help you out?

vim editor. The '%' shortcut can be used to jump between opening and
closing brackets and thus skip smaller or bigger parts of the output.
IMO, this output is primarily for hackers (as opposed to application
developers or users) and hacker should know at least a few vim shortcuts
anyway :-)

// Tony




pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Easily reading debug_print_plan
Next
From: Craig Ringer
Date:
Subject: Re: Easily reading debug_print_plan