Re: [HACKERS] Explain Nodes

2011-04-28 Thread David E. Wheeler
On Apr 28, 2011, at 3:40 PM, Andrew Dunstan wrote: > It's been pointed out before that plugins (like FDWs) can invent their own > explain nodes, so we'll never have a canonical list of such nodes. Oh, interesting. Stil, a list of core nodes is a good 90% solution, IMHO. Best, David -- Sent

Re: [HACKERS] Explain Nodes

2011-04-28 Thread Andrew Dunstan
On 04/28/2011 06:07 PM, David E. Wheeler wrote: On Apr 28, 2011, at 3:02 PM, Peter Geoghegan wrote: The code for all nodes is in src/backend/executor. I think that you will find it useful to look at the big switch statements in ExecInitNode() and friends in execProcnode.c . Yep, same as wha

Re: [HACKERS] Explain Nodes

2011-04-28 Thread David E. Wheeler
On Apr 28, 2011, at 3:02 PM, Peter Geoghegan wrote: > The code for all nodes is in src/backend/executor. > > I think that you will find it useful to look at the big switch > statements in ExecInitNode() and friends in execProcnode.c . Yep, same as what I found in src/backend/commands/explain.c.

Re: [HACKERS] Explain Nodes

2011-04-28 Thread Peter Geoghegan
The code for all nodes is in src/backend/executor. I think that you will find it useful to look at the big switch statements in ExecInitNode() and friends in execProcnode.c . -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sen

[HACKERS] Explain Nodes

2011-04-28 Thread David E. Wheeler
Hackers, For my [explanation extension](http://pgxn.org/extension/explanation) I wanted to put together a list of node types, since I'm always having to figure them out to decide which nodes I'm interested in. Reading src/backend/commands/explain.c I assembled this list: + Aggregate +