Re: Easily reading debug_print_plan
От | Alvaro Herrera |
---|---|
Тема | Re: Easily reading debug_print_plan |
Дата | |
Msg-id | 20131121032929.GA6041@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Easily reading debug_print_plan (Craig Ringer <craig@2ndquadrant.com>) |
Список | pgsql-hackers |
Craig Ringer escribió: > On 11/20/2013 04:22 PM, Antonin Houska wrote: > > 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 :-) > > That's what I'm currently doing, I just wanted something that makes it > quicker and easier. Jumping around the tree is good, but easy > collapse/expand would be much better. I think teaching Vim to fold (see ":help foldmethod") using the syntax might be useful. I would assume it's just a matter of writing a syntax colorizer for outfuncs.c output, and set the foldmethod to syntax ...? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: