pgsql: Generalize mcv_selectivity() to support both VAR OP CONST and - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Generalize mcv_selectivity() to support both VAR OP CONST and
Date
Msg-id 20060427175240.D442411F60E5@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Generalize mcv_selectivity() to support both VAR OP CONST and CONST OP VAR
cases.  This was not needed in the existing uses within selfuncs.c, but if
we're gonna export it for general use, the extra generality seems helpful.
Motivated by looking at ltree example.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        selfuncs.c (r1.202 -> r1.203)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.202&r2=1.203)
    pgsql/src/include/utils:
        selfuncs.h (r1.31 -> r1.32)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/selfuncs.h.diff?r1=1.31&r2=1.32)

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Change log message about vacuuming database name from LOG to
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix ltreeparentsel so it actually works ...