]> granicus.if.org Git - postgresql/commit
Remove overly-pessimistic statement about constraint exclusion.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Aug 2012 03:55:34 +0000 (23:55 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Aug 2012 03:55:57 +0000 (23:55 -0400)
commitead31d1a72b1a99b2741c42adc951564992fb24f
treec3d642b816ee2412be021935437536dee3921bce
parentd3337731277c3f65209fc39986627c66033812e9
Remove overly-pessimistic statement about constraint exclusion.

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.
doc/src/sgml/ddl.sgml