• Tom Lane's avatar
    Add a caveat pointing out that constraint exclusion doesn't work with · 4c2d3ccf
    Tom Lane authored
    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.
    4c2d3ccf
ddl.sgml 99.7 KB