1. 15 Jun, 2006 1 commit
    • Tom Lane's avatar
      Remove the limit on the number of entries allowed in catcaches, and · 8b9bc234
      Tom Lane authored
      remove the infrastructure needed to enforce the limit, ie, the global
      LRU list of cache entries.  On small-to-middling databases this wins
      because maintaining the LRU list is a waste of time.  On large databases
      this wins because it's better to keep more cache entries (we assume
      such users can afford to use some more per-backend memory than was
      contemplated in the Berkeley-era catcache design).  This provides a
      noticeable improvement in the speed of psql \d on a 10000-table
      database, though it doesn't make it instantaneous.
      
      While at it, use per-catcache settings for the number of hash buckets
      per catcache, rather than the former one-size-fits-all value.  It's a
      bit silly to be using the same number of hash buckets for, eg, pg_am
      and pg_attribute.  The specific values I used might need some tuning,
      but they seem to be in the right ballpark based on CATCACHE_STATS
      results from the standard regression tests.
      8b9bc234
  2. 14 Jun, 2006 27 commits
  3. 13 Jun, 2006 1 commit
  4. 12 Jun, 2006 6 commits
  5. 11 Jun, 2006 2 commits
    • Tom Lane's avatar
      Code review for psql multiline history patch(es). Fix memory leak, · e2e2a9db
      Tom Lane authored
      failure to enter commands in history if canceled by control-C, other
      infelicities.
      e2e2a9db
    • Tom Lane's avatar
      Fix Assert failure when a fastpath function call is attempted inside an · bf64a379
      Tom Lane authored
      already-aborted transaction block.  GetSnapshotData throws an Assert if
      not in a valid transaction; hence we mustn't attempt to set a snapshot
      for the function until after checking for aborted transaction.  This is
      harmless AFAICT if Asserts aren't enabled (GetSnapshotData will compute
      a bogus snapshot, but it doesn't matter since HandleFunctionRequest will
      throw an error shortly anywy).  Hence, not a major bug.
      
      Along the way, add some ability to log fastpath calls when statement
      logging is turned on.  This could probably stand to be improved further,
      but not logging anything is clearly undesirable.
      
      Backpatched as far as 8.0; bug doesn't exist before that.
      bf64a379
  6. 10 Jun, 2006 2 commits
    • Bruce Momjian's avatar
      Remove pg_dump wording: · 807bfa58
      Bruce Momjian authored
      <   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef(), and
      <   make use of them in pg_dump
      >   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
      807bfa58
    • Bruce Momjian's avatar
      Add: · 0d001c86
      Bruce Momjian authored
      <   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
      >   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef(), and
      >   make use of them in pg_dump
      0d001c86
  7. 09 Jun, 2006 1 commit