Reminiscent · GitHub

Commits on Aug 22, 2026

  1. Restrict partial unique index estimates to base quals

    A partial index predicate can be proven by movable join or EC-derived
    clauses.  That proof is sufficient for index path selection, but not for
    treating a base-relation column as globally unique during selectivity
    estimation.
    Store the base-only result in predOKBase and use it for simple-column
    and expression-index estimates.  This avoids underestimated base scans
    while preserving valid estimates when base quals satisfy the predicate.
    Add regression coverage for join-only and base-proven predicates.

    authored and Commitfest Bot committed

    Aug 22, 2026
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Read the original on github.com ↗