Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

paths.h

  • Tom Lane's avatar
    fa559a86
    Adjust indexscan planning logic to keep RestrictInfo nodes associated · fa559a86
    Tom Lane authored
    with index qual clauses in the Path representation.  This saves a little
    work during createplan and (probably more importantly) allows reuse of
    cached selectivity estimates during indexscan planning.  Also fix latent
    bug: wrong plan would have been generated for a 'special operator' used
    in a nestloop-inner-indexscan join qual, because the special operator
    would not have gotten into the list of quals to recheck.  This bug is
    only latent because at present the special-operator code could never
    trigger on a join qual, but sooner or later someone will want to do it.
    fa559a86
    History
    Adjust indexscan planning logic to keep RestrictInfo nodes associated
    Tom Lane authored
    with index qual clauses in the Path representation.  This saves a little
    work during createplan and (probably more importantly) allows reuse of
    cached selectivity estimates during indexscan planning.  Also fix latent
    bug: wrong plan would have been generated for a 'special operator' used
    in a nestloop-inner-indexscan join qual, because the special operator
    would not have gotten into the list of quals to recheck.  This bug is
    only latent because at present the special-operator code could never
    trigger on a join qual, but sooner or later someone will want to do it.