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. 17 Jul, 1999 1 commit
  3. 15 Jul, 1999 2 commits
  4. 06 Jun, 1999 1 commit
    • Vadim B. Mikheev's avatar
      1. xact.c: update comments about changing MyProc->xid and MyProc->xmin. · 1b812d93
      Vadim B. Mikheev authored
      2. varsup.c:ReadNewTransactionId(): don't read nextXid from disk -
         this func doesn't allocate next xid, so ShmemVariableCache->nextXid
         may be used (but GetNewTransactionId() must be called first).
      3. vacuum.c: change elog(ERROR, "Child item....") to elog(NOTICE) -
         this is not ERROR, proper handling is just not implemented, yet.
      4. s_lock.c: increase S_MAX_BUSY by 2 times.
      5. shmem.c:GetSnapshotData(): have to call ReadNewTransactionId()
         _after_ SpinAcquire(ShmemIndexLock).
      1b812d93
  5. 03 Jun, 1999 1 commit
  6. 25 May, 1999 1 commit
  7. 02 Apr, 1999 1 commit
  8. 28 Mar, 1999 1 commit
    • Vadim B. Mikheev's avatar
      1. Vacuum is updated for MVCC. · fdf6be80
      Vadim B. Mikheev authored
      2. Much faster btree tuples deletion in the case when first on page
         index tuple is deleted (no movement to the left page(s)).
      3. Remember blkno of new root page in BTPageOpaque of
         left/right siblings when root page is splitted.
      fdf6be80
  9. 22 Feb, 1999 1 commit
  10. 13 Feb, 1999 1 commit
  11. 03 Feb, 1999 1 commit
  12. 18 Dec, 1998 1 commit
  13. 16 Dec, 1998 1 commit
  14. 15 Dec, 1998 1 commit
  15. 01 Sep, 1998 2 commits
  16. 27 Jul, 1998 1 commit
  17. 21 Jul, 1998 1 commit
  18. 30 Jun, 1998 1 commit
  19. 28 Jun, 1998 1 commit
  20. 27 Jun, 1998 3 commits
  21. 25 Jun, 1998 1 commit
  22. 23 Jun, 1998 1 commit
  23. 15 Jun, 1998 1 commit
  24. 26 May, 1998 1 commit
  25. 06 Apr, 1998 1 commit
  26. 26 Feb, 1998 1 commit
  27. 07 Jan, 1998 1 commit
  28. 05 Jan, 1998 1 commit
  29. 18 Sep, 1997 1 commit
  30. 08 Sep, 1997 2 commits
  31. 07 Sep, 1997 1 commit
  32. 12 Aug, 1997 1 commit
  33. 06 Jun, 1997 1 commit
  34. 27 Nov, 1996 2 commits