mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 00:03:51 -05: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.