1. 29 11月, 2000 1 次提交
    • T
      Significant cleanups in SysV IPC handling (shared mem and semaphores). · c715fdea
      Tom Lane 提交于
      IPC key assignment will now work correctly even when multiple postmasters
      are using same logical port number (which is possible given -k switch).
      There is only one shared-mem segment per postmaster now, not 3.
      Rip out broken code for non-TAS case in bufmgr and xlog, substitute a
      complete S_LOCK emulation using semaphores in spin.c.  TAS and non-TAS
      logic is now exactly the same.
      When deadlock is detected, "Deadlock detected" is now the elog(ERROR)
      message, rather than a NOTICE that comes out before an unhelpful ERROR.
      c715fdea
  2. 07 10月, 2000 1 次提交
    • B
      The beos port in the source tree doesn't even compile. and even · 7ea8403c
      Bruce Momjian 提交于
      after that dynamic loading isn't working and shared memory handling is
      broken.
      
              Attached with this message, there is a Zip file which contain :
      
              * beos.diff = patch file generated with difforig
              * beos = folder with beos support files which need to be moved in /
      src/backend/port
              * expected = foler with three file for message and precision
      difference in regression test
              * regression.diff = rule problem (need to kill the backend manualy)
              * dynloader = dynloader files (they are also in the pacth files,
      but there is so much modification that I have join full files)
      
              Everything works except a problem in 'rules' Is there some problems
      with rules in the current tree ? It used to works with last week tree.
      
      Cyril VELTER
      7ea8403c
  3. 03 10月, 2000 3 次提交
  4. 29 8月, 2000 1 次提交
  5. 28 8月, 2000 1 次提交
  6. 31 7月, 2000 1 次提交
  7. 28 6月, 2000 1 次提交
    • T
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane 提交于
      for details).  It doesn't really do that much yet, since there are no
      short-term memory contexts in the executor, but the infrastructure is
      in place and long-term contexts are handled reasonably.  A few long-
      standing bugs have been fixed, such as 'VACUUM; anything' in a single
      query string crashing.  Also, out-of-memory is now considered a
      recoverable ERROR, not FATAL.
      Eliminate a large amount of crufty, now-dead code in and around
      memory management.
      Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
      backend startup.
      1aebc361
  8. 15 6月, 2000 1 次提交
  9. 31 5月, 2000 1 次提交
    • P
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut 提交于
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  10. 30 5月, 2000 1 次提交
  11. 13 4月, 2000 1 次提交
  12. 10 4月, 2000 1 次提交
  13. 24 2月, 2000 1 次提交
  14. 22 2月, 2000 1 次提交
  15. 21 2月, 2000 1 次提交
    • H
      fix the TODO · a60c9e33
      Hiroshi Inoue 提交于
      * Allow PQrequestCancel() to terminate when in waiting-for-lock state
      Changes are limited to BACKEND,however.
      a60c9e33
  16. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  17. 17 1月, 2000 1 次提交
    • H
      · 1500e262
      Hiroshi Inoue 提交于
      Fix for TODO item * spinlock stuck problem when elog(FATAL)
      and elog(ERROR) inside bufmgr.
      1500e262
  18. 16 12月, 1999 1 次提交
  19. 08 11月, 1999 1 次提交
  20. 12 10月, 1999 1 次提交
  21. 07 10月, 1999 1 次提交
  22. 24 9月, 1999 1 次提交
    • T
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane 提交于
      * 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
  23. 18 7月, 1999 1 次提交
  24. 16 7月, 1999 2 次提交
  25. 26 5月, 1999 2 次提交
  26. 13 5月, 1999 1 次提交
    • B
      Hi, Bruce! · 564842a6
      Bruce Momjian 提交于
      These are my last changes to lmgr fixing deadlock handling.
      Please apply them to cvs...
      
      Vadim
      564842a6
  27. 07 5月, 1999 1 次提交
  28. 30 4月, 1999 1 次提交
  29. 29 3月, 1999 1 次提交
    • V
      1. Vacuum is updated for MVCC. · fdf6be80
      Vadim B. Mikheev 提交于
      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
  30. 21 2月, 1999 1 次提交
    • T
      Rearrange handling of MAXBACKENDS a little bit. The default setting · 9d197856
      Tom Lane 提交于
      of MAXBACKENDS is now 1024, since all it's costing is about 32 bytes of memory
      per array slot.  configure's --with-maxbackends switch now controls DEF_MAXBACKENDS
      which is simply the default value of the postmaster's -N switch.  Thus,
      the out-of-the-box configuration will still limit you to 64 backends,
      but you can go up to 1024 backends simply by restarting the postmaster with
      a different -N switch --- no rebuild required.
      9d197856
  31. 19 2月, 1999 2 次提交
    • T
      Reorder startup ops so that if preallocation of semas fails, · 4c313931
      Tom Lane 提交于
      postmaster will release whatever it did get before dying.
      4c313931
    • T
      Allow maximum number of backends to be set at configure time · e77b630c
      Tom Lane 提交于
      (--with-maxbackends).  Add a postmaster switch (-N backends) that allows
      the limit to be reduced at postmaster start time.  (You can't increase it,
      sorry to say, because there are still some fixed-size arrays.)
      Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at
      postmaster startup, so that this particular form of bogus configuration
      is exposed immediately rather than under heavy load.
      e77b630c
  32. 14 2月, 1999 1 次提交
  33. 30 12月, 1998 3 次提交