pgsql: Generalize mcv_selectivity() to support both VAR OP CONST and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Generalize mcv_selectivity() to support both VAR OP CONST and
Date: 2006-04-27 17:52:40
Message-ID: 20060427175240.D442411F60E5@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Matthew T. O'Connor 2006-04-27 18:03:56 Re: Logging pg_autovacuum
Previous Message Bruce Momjian 2006-04-27 17:37:55 Logging pg_autovacuum