• T
    Create a 'type cache' that keeps track of the data needed for any particular · ec646dbc
    Tom Lane 提交于
    datatype by array_eq and array_cmp; use this to solve problems with memory
    leaks in array indexing support.  The parser's equality_oper and ordering_oper
    routines also use the cache.  Change the operator search algorithms to look
    for appropriate btree or hash index opclasses, instead of assuming operators
    named '<' or '=' have the right semantics.  (ORDER BY ASC/DESC now also look
    at opclasses, instead of assuming '<' and '>' are the right things.)  Add
    several more index opclasses so that there is no regression in functionality
    for base datatypes.  initdb forced due to catalog additions.
    ec646dbc
analyze.c 51.2 KB