Skip to content
Snippets Groups Projects
  1. Jul 12, 2007
  2. Jul 11, 2007
  3. Jul 10, 2007
  4. Jul 09, 2007
    • Tom Lane's avatar
      Fix stddev_pop(numeric) and var_pop(numeric), which were incorrectly producing · 6244c2df
      Tom Lane authored
      the same outputs as stddev_samp() and var_samp() respectively.
      6244c2df
    • Tom Lane's avatar
      Fix single-user mode so that interrupts (particularly SIGTERM and · 9e09e3b1
      Tom Lane authored
      SIGQUIT) will be recognized and processed while waiting for input,
      rather than only after something has been typed.  Also make SIGQUIT
      do the same thing as SIGTERM in single-user mode, ie, do a normal
      shutdown and exit.  Since it's relatively easy to provoke SIGQUIT
      from the keyboard, people may try that instead of control-D, and we'd
      rather this leads to orderly shutdown.  Per report from Leon Mergen
      and subsequent discussion.
      9e09e3b1
    • Tom Lane's avatar
      Minor copy-editing. · 9b619679
      Tom Lane authored
      9b619679
    • Tom Lane's avatar
      Remove the pgstat_drop_relation() call from smgr_internal_unlink(), because · b09cb0cf
      Tom Lane authored
      we don't know at that point which relation OID to tell pgstat to forget.
      The code was passing the relfilenode, which is incorrect, and could possibly
      cause some other relation's stats to be zeroed out.  While we could try to
      clean this up, it seems much simpler and more reliable to let the next
      invocation of pgstat_vacuum_tabstat() fix things; which indeed is how it
      worked before I introduced the buggy code into 8.1.3 and later :-(.
      Problem noticed by Itagaki Takahiro, fix is per subsequent discussion.
      b09cb0cf
  5. Jul 08, 2007
  6. Jul 07, 2007
  7. Jul 06, 2007
  8. Jul 05, 2007
  9. Jul 03, 2007
  10. Jul 02, 2007
    • Magnus Hagander's avatar
      - Fix the -w (wait) option to work in Windows service mode, per bug #3382. · a1587e41
      Magnus Hagander authored
      - Prevent the -w option being passed to the postmaster.
      - Read the postmaster options file when starting as a Windows service.
      
      Dave Page
      a1587e41
    • Tom Lane's avatar
      Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). · 1c7fe33f
      Tom Lane authored
      This is a Linux kernel bug that apparently exists in every extant kernel
      version: sometimes shmctl() will fail with EIDRM when EINVAL is correct.
      We were assuming that EIDRM indicates a possible conflict with pre-existing
      backends, and refusing to start the postmaster when this happens.  Fortunately,
      there does not seem to be any case where Linux can legitimately return EIDRM
      (it doesn't track shmem segments in a way that would allow that), so we can
      get away with just assuming that EIDRM means EINVAL on this platform.
      
      Per reports from Michael Fuhr and Jon Lapham --- it's a bit surprising
      we have not seen more reports, actually.
      1c7fe33f
  11. Jul 01, 2007
  12. Jun 30, 2007
  13. Jun 29, 2007
    • Alvaro Herrera's avatar
      Arrange for SIGINT in autovacuum workers to cancel the current table and · 10af02b9
      Alvaro Herrera authored
      continue with the schedule.  Change current uses of SIGINT to abort a worker
      into SIGTERM, which keeps the old behaviour of terminating the process.
      
      Patch from ITAGAKI Takahiro, with some editorializing of my own.
      10af02b9
    • Tom Lane's avatar
      Fix computation of PG_VERSION_NUM by configure: remove unnecessary and · c786796d
      Tom Lane authored
      unportable backslashes in awk script (per Patrick Welche), and add
      brackets to prevent autoconf from mangling sed's regexp (the sed call
      here never did what was expected).
      c786796d
    • Tom Lane's avatar
      Add a note that pg_start_backup will take awhile because of new · 4303c0fd
      Tom Lane authored
      distributed checkpoint behavior.  Explain how to work around this
      by issuing a manual CHECKPOINT command.  Per discussion with Heikki.
      4303c0fd
    • Tom Lane's avatar
      Fix a passel of ancient bugs in to_char(), including two distinct buffer · 6faf7956
      Tom Lane authored
      overruns (neither of which seem likely to be exploitable as security holes,
      fortunately, since the provoker can't control the data written).  One of
      these is due to choosing to stomp on the output of a called function, which
      is bad news in any case; make it treat the called functions' results as
      read-only.  Avoid some unnecessary palloc/pfree traffic too; it's not
      really helpful to free small temporary objects, and again this is presuming
      more than it ought to about the nature of the results of called functions.
      Per report from Patrick Welche and additional code-reading by Imad.
      6faf7956
Loading