Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Rasheed2020-12-08 20:10:11 +0000
committerDean Rasheed2020-12-08 20:10:11 +0000
commit4f5760d4afa9423fe4d38e4cbec48bf5e793e7e5 (patch)
treee2f545d18e44849f81d593c181c08c9bcb77126d /src/backend/commands/constraint.c
parent88b0898fe35a5a0325fca21bd4f3ed6dffb364c1 (diff)
Improve estimation of ANDs under ORs using extended statistics.
Formerly, extended statistics only handled clauses that were RestrictInfos. However, the restrictinfo machinery doesn't create sub-AND RestrictInfos for AND clauses underneath OR clauses. Therefore teach extended statistics to handle bare AND clauses, looking for compatible RestrictInfo clauses underneath them. Dean Rasheed, reviewed by Tomas Vondra. Discussion: https://postgr.es/m/CAEZATCW=J65GUFm50RcPv-iASnS2mTXQbr=CfBvWRVhFLJ_fWA@mail.gmail.com
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions