[prev] 36 [next]

PostgreSQL Executor

Modules in src/backend/executor fall into two groups:

execXXX (e.g. execMain, execProcnode, execScan)

  • implement generic control of plan evaluation (execution)
  • provide overall plan execution and dispatch to node iterators
nodeXXX   (e.g. nodeSeqscan, nodeNestloop, nodeGroup)
  • implement iterators for specific types of RA operators
  • typically contains ExecInitXXX, ExecXXX, ExecEndXXX