PostgreSQL 19 introduces the pg_plan_advice contrib module, which allows users to stabilize or override query planner decisions. By analyzing a finished query plan, it generates textual 'plan advice' (e.g., JOIN_ORDER, MERGE_JOIN, SEQ_SCAN directives) that can be fed back to force the planner to reproduce or alter those
Sort: