Planner and Optimizer in the PostgreSQL documentation
ID: planner-and-optimizer-in-the-postgresql-documentation
PostgreSQL 18, section 51.5 and 51.5.1: candidate scans, join methods, estimated costs and heuristic search.
New to topics? Read the docs here!