1. 25 4月, 2003 1 次提交
  2. 20 3月, 2003 1 次提交
  3. 25 10月, 2002 1 次提交
  4. 22 10月, 2002 1 次提交
  5. 26 9月, 2002 1 次提交
    • T
      Remove ShutdownBufferPoolAccess exit callback, and do the work in · 8a6fab41
      Tom Lane 提交于
      ProcKill instead, where we still have a PGPROC with which to wait on
      LWLocks.  This fixes 'can't wait without a PROC structure' failures
      occasionally seen during backend shutdown (I'm surprised they weren't
      more frequent, actually).  Add an Assert() to LWLockAcquire to help
      catch any similar mistakes in future.  Fix failure to update MyProcPid
      for standalone backends and pgstat processes.
      8a6fab41
  6. 06 9月, 2002 1 次提交
  7. 05 9月, 2002 1 次提交
  8. 02 9月, 2002 2 次提交
  9. 29 8月, 2002 1 次提交
  10. 04 8月, 2002 1 次提交
  11. 20 7月, 2002 1 次提交
    • B
      oid is needed, it is added at the end of the struct (after the null · b0f5086e
      Bruce Momjian 提交于
      bitmap, if present).
      
      Per Tom Lane's suggestion the information whether a tuple has an oid
      or not is carried in the tuple descriptor.  For debugging reasons
      tdhasoid is of type char, not bool.  There are predefined values for
      WITHOID, WITHOUTOID and UNDEFOID.
      
      This patch has been generated against a cvs snapshot from last week
      and I don't expect it to apply cleanly to current sources.  While I
      post it here for public review, I'm working on a new version against a
      current snapshot.  (There's been heavy activity recently; hope to
      catch up some day ...)
      
      This is a long patch;  if it is too hard to swallow, I can provide it
      in smaller pieces:
      
      Part 1:  Accessor macros
      Part 2:  tdhasoid in TupDesc
      Part 3:  Regression test
      Part 4:  Parameter withoid to heap_addheader
      Part 5:  Eliminate t_oid from HeapTupleHeader
      
      Part 2 is the most hairy part because of changes in the executor and
      even in the parser;  the other parts are straightforward.
      
      Up to part 4 the patched postmaster stays binary compatible to
      databases created with an unpatched version.  Part 5 is small (100
      lines) and finally breaks compatibility.
      
      Manfred Koizar
      b0f5086e
  12. 21 5月, 2002 1 次提交
    • T
      Restructure indexscan API (index_beginscan, index_getnext) per · 44fbe20d
      Tom Lane 提交于
      yesterday's proposal to pghackers.  Also remove unnecessary parameters
      to heap_beginscan, heap_rescan.  I modified pg_proc.h to reflect the
      new numbers of parameters for the AM interface routines, but did not
      force an initdb because nothing actually looks at those fields.
      44fbe20d
  13. 05 5月, 2002 1 次提交
  14. 03 4月, 2002 1 次提交
  15. 06 3月, 2002 1 次提交
    • B
      Change made to elog: · 92288a1c
      Bruce Momjian 提交于
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  16. 08 2月, 2002 1 次提交
  17. 04 12月, 2001 1 次提交
  18. 27 11月, 2001 1 次提交
  19. 25 10月, 2001 1 次提交
  20. 23 10月, 2001 1 次提交
    • T
      Further cleanup of ps_status setup code. On platforms where the · 94daee3c
      Tom Lane 提交于
      environment strings need to be moved around, do so when called from
      initial startup (main.c), not in init_ps_status.  This eliminates the
      former risk of invalidating saved environment-string pointers, since
      no code has yet had a chance to grab any such pointers when main.c
      is running.
      94daee3c
  21. 21 10月, 2001 1 次提交
  22. 17 10月, 2001 1 次提交
  23. 06 10月, 2001 1 次提交
    • T
      Further cleanup of dynahash.c API, in pursuit of portability and · 8a52b893
      Tom Lane 提交于
      readability.  Bizarre '(long *) TRUE' return convention is gone,
      in favor of just raising an error internally in dynahash.c when
      we detect hashtable corruption.  HashTableWalk is gone, in favor
      of using hash_seq_search directly, since it had no hope of working
      with non-LONGALIGNable datatypes.  Simplify some other code that was
      made undesirably grotty by promixity to HashTableWalk.
      8a52b893
  24. 02 10月, 2001 1 次提交
  25. 01 10月, 2001 1 次提交
    • T
      Another round of cleanups for dynahash.c (maybe it's finally clean of · 5999e78f
      Tom Lane 提交于
      portability issues).  Caller-visible data structures are now allocated
      on MAXALIGN boundaries, allowing safe use of datatypes wider than 'long'.
      Rejigger hash_create API so that caller specifies size of key and
      total size of entry, not size of key and size of rest of entry.
      This simplifies life considerably since each number is just a sizeof(),
      and padding issues etc. are taken care of automatically.
      5999e78f
  26. 24 8月, 2001 1 次提交
  27. 05 8月, 2001 1 次提交
    • T
      Endeavor to make pgstats buffer process (a) safe and (b) useful. · e8f10973
      Tom Lane 提交于
      Make sure it exits immediately when collector process dies --- in old code,
      buffer process would hang around and compete with the new buffer process
      for packets.  Make sure it doesn't block on writing the pipe when the
      collector falls more than a pipeload behind.  Avoid leaking pgstats FDs
      into every backend.
      e8f10973
  28. 04 8月, 2001 1 次提交
    • T
      Fix handling of SIGCHLD, per recent pghackers discussion: on some · dad8e410
      Tom Lane 提交于
      platforms system(2) gets confused unless the signal handler is set to
      SIG_DFL, not SIG_IGN.  pgstats.c now uses pqsignal() as it should,
      not signal().  Also, arrange for the stats collector process to show
      a reasonable ID in 'ps', rather than looking like a postmaster.
      dad8e410
  29. 05 7月, 2001 1 次提交
  30. 01 7月, 2001 1 次提交
  31. 30 6月, 2001 1 次提交
  32. 23 6月, 2001 1 次提交