1. 19 6月, 2001 14 次提交
  2. 18 6月, 2001 3 次提交
    • T
      Do some restructuring to improve performance of the catcaches. Teach · 2c5aa2ac
      Tom Lane 提交于
      CatalogCacheFlushRelation (formerly called SystemCacheRelationFlushed)
      how to distinguish tuples it should flush from those it needn't; this
      means a relcache flush event now only removes the catcache entries
      it ought to, rather than zapping the caches completely as it used to.
      Testing with the regression tests indicates that this considerably
      improves the lifespan of catcache entries.  Also, rearrange catcache
      data structures so that the limit on number of cached tuples applies
      globally across all the catcaches, rather than being per-catcache.
      It was a little silly to have the same size limit on both, say,
      pg_attribute caches and pg_am caches (there being only four possible
      rows in the latter...).  Doing LRU removal across all the caches
      instead of locally in each one should reduce cache reload traffic
      in the more heavily used caches and improve the efficiency of
      cache memory use.
      2c5aa2ac
    • H
    • T
      Keep the list of to-be-NOTIFYed names in a plain List palloc'd in · 6054b332
      Tom Lane 提交于
      TopTransactionContext, rather than using Dllist.  This simplifies and
      speeds up the code, and eliminates a former risk of coredump when
      out of memory (since the old code didn't bother to check for malloc
      failure).  It also moves us one step closer to retiring Dllist...
      6054b332
  3. 17 6月, 2001 3 次提交
  4. 16 6月, 2001 1 次提交
  5. 15 6月, 2001 5 次提交
  6. 14 6月, 2001 12 次提交
  7. 13 6月, 2001 2 次提交
    • M
      - Synced preproc.y with gram.y. · cee82fab
      Michael Meskes 提交于
      - Applied bug fix by John Summerfield.
      cee82fab
    • T
      Extend GUC concepts of parse_hook and assign_hook to all four supported · 2938eec7
      Tom Lane 提交于
      datatypes, not only strings.  parse_hook is useless for bool, I suppose,
      but it seems possibly useful for int and double to apply variable-specific
      constraints that are more complex than simple range limits.  assign_hook
      is definitely useful for all datatypes --- we need it right now for bool
      to support date cache reset when changing Australian timezone rule setting.
      Also, clean up some residual problems with the reset all/show all patch,
      including memory leaks and mistaken reset of PostPortNumber.  It seems
      best that RESET ALL not touch variables that don't have SUSET or
      USERSET context.
      2938eec7