1. 03 2月, 2004 8 次提交
  2. 02 2月, 2004 6 次提交
    • T
      Do not let external specification of CFLAGS stop us from adding · 6f295328
      Tom Lane 提交于
      -fno-strict-aliasing.
      6f295328
    • T
      Avoid generating invalid character encoding sequences in make_greater_string. · 9fe09757
      Tom Lane 提交于
      Not sure how this mistake evaded detection for so long.
      9fe09757
    • N
      Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter can · b8362d46
      Neil Conway 提交于
      apparently corrupt the Tcl runtime. Per suggestion from Michael
      Brusser <michael@synchronicity.com>
      b8362d46
    • B
      Adjust rename on Win32 to only link to temp name while holding lock, · d9d2ca8e
      Bruce Momjian 提交于
      then release locks and loop over renaming to active file name.
      d9d2ca8e
    • B
      Briefly, · e5e5a323
      Bruce Momjian 提交于
       * configure + Makefile changes
       * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent
      cygwin bug under cygwin/EXEC_BACKEND case only)
       * PATH env var separator differences
       * missing win32 rand functions added
       * placeholder replacements for sync etc under port.h
      
      
      To those who are really interested, and there are a few of you: the attached
      patch + file will allow the source base to be compiled (and, for some
      definition, "run") under MingW, with the following caveats (I wanted to
      first properly fix all but the last of these, but y'all won't quit asking
      for a patch :-):
      
              * child death: SIGCHLD not yet sent, so as a minimum, you'll need to
      put in some sort of delay after StartupDatabase, and handle setting
      StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed
      to do)
      
              * dirmod.c: comment out the elog calls
      
              * dfmgr.c: some hackage required to substitute_libpath_macro
      
              * slru/xact.c: comment out the errno checking after the readdir
      (fixed by next version of MingW)
      
      Again, this is only if you *really* want to see postgres compile and start,
      and is a nice leg-up for working on the other Win32 TODO list items. Just
      don't expect too much else from it at this point...
      
      
      Claudio Natoli
      e5e5a323
    • B
      Set locale to C before doing sort in make_ctags. · 10bb17e3
      Bruce Momjian 提交于
      10bb17e3
  3. 01 2月, 2004 4 次提交
  4. 31 1月, 2004 3 次提交
  5. 30 1月, 2004 2 次提交
  6. 29 1月, 2004 4 次提交
  7. 28 1月, 2004 5 次提交
  8. 27 1月, 2004 8 次提交
    • T
      Run stats test separately, not as part of a parallel group, to avoid · 7e34b2d7
      Tom Lane 提交于
      possible failures due to stats collector not updating fast enough under
      heavy load.  Per report from Jeremy Yoder.
      7e34b2d7
    • B
      Pgindent win32 signal code. · 70d58115
      Bruce Momjian 提交于
      70d58115
    • B
      Here's the latest win32 signals code, this time in the form of a patch · 50491963
      Bruce Momjian 提交于
      against the latest shapshot. It also includes the replacement of kill()
      with pqkill() and sigsetmask() with pqsigsetmask().
      
      Passes all tests fine on my linux machine once applied. Still doesn't
      link completely on Win32 - there are a few things still required. But
      much closer than before.
      
      At Bruce's request, I'm goint to write up a README file about the method
      of signals delivery chosen and why the others were rejected (basically a
      summary of the mailinglist discussions). I'll finish that up once/if the
      patch is accepted.
      
      
      Magnus Hagander
      50491963
    • B
      [all] Removed call to getppid in SendPostmasterSignal, replacing with a · eec08b95
      Bruce Momjian 提交于
      PostmasterPid variable, which gets set (early) in PostmasterMain
      getppid would not be the postmaster?
      
      [fork/exec] Implements processCancelRequest by keeping an array of
      
      pid/cancel_key structs in shared mem
      
      [fork/exec] Moves AttachSharedMemoryAndSemaphores call for backends into
      SubPostmasterMain
      
      [win32] Implements reaper/waitpid by keeping an arrays of children
      pids,handles in postmaster local mem
            - this item is largely untested, for reasons which should be
      obvious, but appears sound
      
      [win32/all] Added extern for pgpipe in Win32 case, and changed the second
      pipe call (which seems to have been missed earlier) to pgpipe
      
      [win32] #define'd ftruncate to chsize in the Win32 case
      
      [win32] PG_USLEEP for Win32 has a misplaced paren. Fixed.
      
      [win32] DLLIMPORT handling for MingW case
      
      
      Claudio Natoli
      eec08b95
    • B
      Back out win32 patch so we can apply it separately. · ede3b762
      Bruce Momjian 提交于
      ede3b762
    • B
      Attached is a patch that fixes some trivial typos and alignment. Please · f4921e5c
      Bruce Momjian 提交于
      apply.
      
      Alvaro Herrera
      f4921e5c
    • B
      Add Name: · af29187f
      Bruce Momjian 提交于
      > * -Add checks for fclose() failure (Tom)
      af29187f
    • B
      Done: · ee96c82c
      Bruce Momjian 提交于
      > * -Add checks for fclose() failure (Tom)
      ee96c82c