mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
As of 9.2, constraint exclusion should work okay with prepared statements: the planner will try custom plans with actual values of the parameters, and observe that they are a lot cheaper than the generic plan, and thus never fall back to using the generic plan. Noted by Tatsuhito Kasahara.