1. 21 8月, 2003 1 次提交
  2. 19 8月, 2003 3 次提交
    • T
      Updates for array documentation, from Joe Conway. · 432fb5b8
      Tom Lane 提交于
      432fb5b8
    • T
      Improve dynahash.c's API so that caller can specify the comparison function · 80860c32
      Tom Lane 提交于
      as well as the hash function (formerly the comparison function was hardwired
      as memcmp()).  This makes it possible to eliminate the special-purpose
      hashtable management code in execGrouping.c in favor of using dynahash to
      manage tuple hashtables; which is a win because dynahash knows how to expand
      a hashtable when the original size estimate was too small, whereas the
      special-purpose code was too stupid to do that.  (See recent gripe from
      Stephan Szabo about poor performance when hash table size estimate is way
      off.)  Free side benefit: when using string_hash, the default comparison
      function is now strncmp() instead of memcmp().  This should eliminate some
      part of the overhead associated with larger NAMEDATALEN values.
      80860c32
    • T
      When compiling a plpgsql trigger function, include the OID of the table · 23e10843
      Tom Lane 提交于
      the trigger is attached to in the hashkey.  This ensures that we will
      create separate compiled trees for each table the trigger is used with,
      avoiding possible datatype-mismatch problems if the tables have different
      rowtypes.  This is essentially the same bug recently identified in plpython
      --- though plpgsql doesn't seem as prone to crash when the rowtype changes
      underneath it.  But failing robustly is no substitute for just working.
      23e10843
  3. 18 8月, 2003 7 次提交
  4. 17 8月, 2003 19 次提交
  5. 16 8月, 2003 3 次提交
  6. 15 8月, 2003 7 次提交