Postgres Professional provides the sr_plan extension which allows to freeze plans of selected queries execution Currently it uses complete serialization/deserialization of query plans Negative side of such approach is in portability issues and sensitivity to schema changes