diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-20 23:11:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-20 23:11:38 +0000 |
commit | 4c2d3ccf8afee7180978a3d7ef318ee7de0c0a91 (patch) | |
tree | 766113118e8d79ba279183f78d3bbf44a57501cd /src/backend/tcop/postgres.c | |
parent | 8f3d07764f3987f3317e29aaea76e97660972b5d (diff) | |
download | postgresql-4c2d3ccf8afee7180978a3d7ef318ee7de0c0a91.tar.gz postgresql-4c2d3ccf8afee7180978a3d7ef318ee7de0c0a91.zip |
Add a caveat pointing out that constraint exclusion doesn't work with
constraints the planner is unable to disprove, hence simple btree-compatible
conditions should be used. We've seen people try to get cute with stuff
like date_part(something) = something at least twice now. Even if we
wanted to try to teach predtest.c about the properties of date_part,
most of the useful variants aren't immutable so nothing could be proved.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions