1. 24 Sep, 1999 1 commit
    • Tom Lane's avatar
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane authored
      * Buffer refcount cleanup (per my "progress report" to pghackers, 9/22).
      * Add links to backend PROC structs to sinval's array of per-backend info,
      and use these links for routines that need to check the state of all
      backends (rather than the slow, complicated search of the ShmemIndex
      hashtable that was used before).  Add databaseOID to PROC structs.
      * Use this to implement an interlock that prevents DESTROY DATABASE of
      a database containing running backends.  (It's a little tricky to prevent
      a concurrently-starting backend from getting in there, since the new
      backend is not able to lock anything at the time it tries to look up
      its database in pg_database.  My solution is to recheck that the DB is
      OK at the end of InitPostgres.  It may not be a 100% solution, but it's
      a lot better than no interlock at all...)
      * In ALTER TABLE RENAME, flush buffers for the relation before doing the
      rename of the physical files, to ensure we don't get failures later from
      mdblindwrt().
      * Update TRUNCATE patch so that it actually compiles against current
      sources :-(.
      You should do "make clean all" after pulling these changes.
      e812458b
  2. 15 Jul, 1999 1 commit
  3. 28 May, 1999 1 commit
    • Tom Lane's avatar
      Repair performance problem in SI segment manipulations: iterating · dc6d4049
      Tom Lane authored
      through MAXBACKENDS array entries used to be fine when MAXBACKENDS = 64.
      It's not so cool with MAXBACKENDS = 1024 (or more!), especially not in a
      frequently-used routine like SIDelExpiredDataEntries.  Repair by making
      procState array size be the soft MaxBackends limit rather than the hard
      limit, and by converting SIGetProcStateLimit() to a macro.
      dc6d4049
  4. 13 Feb, 1999 1 commit
  5. 01 Sep, 1998 1 commit
  6. 26 Feb, 1998 1 commit
  7. 24 Jan, 1998 1 commit
  8. 08 Sep, 1997 1 commit
  9. 07 Sep, 1997 1 commit
  10. 10 Nov, 1996 1 commit
  11. 05 Nov, 1996 1 commit
  12. 31 Oct, 1996 1 commit
  13. 28 Aug, 1996 1 commit
  14. 09 Jul, 1996 1 commit