[prev] 33 [next]

Projection in PostgreSQL

Code for projection forms part of execution iterators:
  • backend/executor/execQual.c
Functions involved with projection:
  • ExecProject(projInfo,...) ... extracts/stores projected data
  • ExecTargetList(...) ... makes new tuple from old tuple + projection info
  • ExecStoreTuple(newTuple,...) ... save tuple in output slot