Inside the five-stage pipeline from 1.1.1, there is another fork right after the parser. PostgreSQL classifies every SQL command into one of two camps. One side holds the optimizable queries, the other holds the utility commands. The classification is decided by a single field on the Query node, commandType , and from that point on the two camps travel completely different paths . One goes through the rewriter, the planner, and the executor. The other bypasses all three. This fork was a single l
Comment
Sign in to join the discussion.
Loading comments…