Not sure if it's exactly what you're getting at, but SQL Server has a "USE PLAN" hint that lets you set the entire query plan (using an XML string).
PostgreSQL's policy is strongly against hints, so we're unlikely to see anything like that in Postgres.
Not sure if it's exactly what you're getting at, but SQL Server has a "USE PLAN" hint that lets you set the entire query plan (using an XML string).
PostgreSQL's policy is strongly against hints, so we're unlikely to see anything like that in Postgres.