Thread: pgsql/src backend/catalog/pg_operator.c backen ...

pgsql/src backend/catalog/pg_operator.c backen ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/05/20 16:28:20

Modified files:
    src/backend/catalog: pg_operator.c
    src/backend/nodes: copyfuncs.c equalfuncs.c outfuncs.c
                       readfuncs.c
    src/backend/optimizer/path: allpaths.c clausesel.c costsize.c
                                indxpath.c joinrels.c orindxpath.c
    src/backend/optimizer/plan: createplan.c initsplan.c planmain.c
                                planner.c
    src/backend/optimizer/prep: prepunion.c
    src/backend/optimizer/util: clauses.c pathnode.c plancat.c
                                relnode.c
    src/backend/utils/adt: selfuncs.c
    src/include/catalog: catversion.h pg_proc.h
    src/include/nodes: parsenodes.h relation.h
    src/include/optimizer: clauses.h pathnode.h paths.h plancat.h
                           prep.h
    src/test/regress/expected: opr_sanity.out
    src/test/regress/sql: opr_sanity.sql

Log message:
    Modify optimizer data structures so that IndexOptInfo lists built for
    create_index_paths are not immediately discarded, but are available for
    subsequent planner work.  This allows avoiding redundant syscache lookups
    in several places.  Change interface to operator selectivity estimation
    procedures to allow faster and more flexible estimation.
    Initdb forced due to change of pg_proc entries for selectivity functions!