• Tom Lane's avatar
    Cross-data-type comparisons are now indexable by btrees, pursuant to my · fa5c8a05
    Tom Lane authored
    pghackers proposal of 8-Nov.  All the existing cross-type comparison
    operators (int2/int4/int8 and float4/float8) have appropriate support.
    The original proposal of storing the right-hand-side datatype as part of
    the primary key for pg_amop and pg_amproc got modified a bit in the event;
    it is easier to store zero as the 'default' case and only store a nonzero
    when the operator is actually cross-type.  Along the way, remove the
    long-since-defunct bigbox_ops operator class.
    fa5c8a05
nbtsearch.c 36.5 KB