• T
    Restructure operator classes to allow improved handling of cross-data-type · a78fcfb5
    Tom Lane 提交于
    cases.  Operator classes now exist within "operator families".  While most
    families are equivalent to a single class, related classes can be grouped
    into one family to represent the fact that they are semantically compatible.
    Cross-type operators are now naturally adjunct parts of a family, without
    having to wedge them into a particular opclass as we had done originally.
    
    This commit restructures the catalogs and cleans up enough of the fallout so
    that everything still works at least as well as before, but most of the work
    needed to actually improve the planner's behavior will come later.  Also,
    there are not yet CREATE/DROP/ALTER OPERATOR FAMILY commands; the only way
    to create a new family right now is to allow CREATE OPERATOR CLASS to make
    one by default.  I owe some more documentation work, too.  But that can all
    be done in smaller pieces once this infrastructure is in place.
    a78fcfb5
copyfuncs.c 63.6 KB