Skip to content
Snippets Groups Projects
  1. Jan 14, 2013
    • Tom Lane's avatar
      Add new timezone abbrevation "FET". · 7127293a
      Tom Lane authored
      This seems to have been invented in 2011 to represent GMT+3, non daylight
      savings rules, as now used in Europe/Kaliningrad and Europe/Minsk.
      There are no conflicts so might as well add it to the Default list.
      Per bug #7804 from Ruslan Izmaylov.
      7127293a
  2. Jan 01, 2013
  3. Dec 02, 2012
  4. Oct 12, 2012
  5. Sep 19, 2012
  6. Aug 14, 2012
    • Tom Lane's avatar
      Update time zone data files to tzdata release 2012e. · 51fd748e
      Tom Lane authored
      DST law changes in Morocco; Tokelau has relocated to the other side of
      the International Date Line; and apparently Olson had Tokelau's GMT
      offset wrong by an hour even before that.
      
      There are also a large number of non-significant changes in this update.
      Upstream took the opportunity to remove trailing whitespace, and the
      SCCS-style version numbers on the individual files are gone too.
      51fd748e
  7. Jun 10, 2012
  8. May 31, 2012
  9. Apr 25, 2012
    • Tom Lane's avatar
      Fix edge-case behavior of pg_next_dst_boundary(). · c62b8eaa
      Tom Lane authored
      Due to rather sloppy thinking (on my part, I'm afraid) about the
      appropriate behavior for boundary conditions, pg_next_dst_boundary() gave
      undefined, platform-dependent results when the input time is exactly the
      last recorded DST transition time for the specified time zone, as a result
      of fetching values one past the end of its data arrays.
      
      Change its specification to be that it always finds the next DST boundary
      *after* the input time, and adjust code to match that.  The sole existing
      caller, DetermineTimeZoneOffset, doesn't actually care about this
      distinction, since it always uses a probe time earlier than the instant
      that it does care about.  So it seemed best to me to change the API to make
      the result=1 and result=0 cases more consistent, specifically to ensure
      that the "before" outputs always describe the state at the given time,
      rather than hacking the code to obey the previous API comment exactly.
      
      Per bug #6605 from Sergey Burladyan.  Back-patch to all supported versions.
      c62b8eaa
  10. Apr 24, 2012
  11. Jan 02, 2012
  12. Nov 30, 2011
  13. Oct 28, 2011
  14. Sep 09, 2011
    • Tom Lane's avatar
      Simplify handling of the timezone GUC by making initdb choose the default. · ca4af308
      Tom Lane authored
      We were doing some amazingly complicated things in order to avoid running
      the very expensive identify_system_timezone() procedure during GUC
      initialization.  But there is an obvious fix for that, which is to do it
      once during initdb and have initdb install the system-specific default into
      postgresql.conf, as it already does for most other GUC variables that need
      system-environment-dependent defaults.  This means that the timezone (and
      log_timezone) settings no longer have any magic behavior in the server.
      Per discussion.
      ca4af308
  15. Sep 05, 2011
  16. Aug 23, 2011
  17. Jul 26, 2011
  18. Jun 09, 2011
  19. May 12, 2011
    • Tom Lane's avatar
      Split PGC_S_DEFAULT into two values, for true boot_val vs computed default. · e05b8664
      Tom Lane authored
      Failure to distinguish these cases is the real cause behind the recent
      reports of Windows builds crashing on 'infinity'::timestamp, which was
      directly due to failure to establish a value of timezone_abbreviations
      in postmaster child processes.  The postmaster had the desired value,
      but write_one_nondefault_variable() didn't transmit it to backends.
      
      To fix that, invent a new value PGC_S_DYNAMIC_DEFAULT, and be sure to use
      that or PGC_S_ENV_VAR (as appropriate) for "default" settings that are
      computed during initialization.  (We need both because there's at least
      one variable that could receive a value from either source.)
      
      This commit also fixes ProcessConfigFile's failure to restore the correct
      default value for certain GUC variables if they are set in postgresql.conf
      and then removed/commented out of the file.  We have to recompute and
      reinstall the value for any GUC variable that could have received a value
      from PGC_S_DYNAMIC_DEFAULT or PGC_S_ENV_VAR sources, and there were a
      number of oversights.  (That whole thing is a crock that needs to be
      redesigned, but not today.)
      
      However, I intentionally didn't make it work "exactly right" for the cases
      of timezone and log_timezone.  The exactly right behavior would involve
      running select_default_timezone, which we'd have to do independently in
      each postgres process, causing the whole database to become entirely
      unresponsive for as much as several seconds.  That didn't seem like a good
      idea, especially since the variable's removal from postgresql.conf might be
      just an accidental edit.  Instead the behavior is to adopt the previously
      active setting as if it were default.
      
      Note that this patch creates an ABI break for extensions that use any of
      the PGC_S_XXX constants; they'll need to be recompiled.
      e05b8664
  20. Apr 25, 2011
  21. Apr 14, 2011
  22. Apr 07, 2011
    • Tom Lane's avatar
      Revise the API for GUC variable assign hooks. · 2594cf0e
      Tom Lane authored
      The previous functions of assign hooks are now split between check hooks
      and assign hooks, where the former can fail but the latter shouldn't.
      Aside from being conceptually clearer, this approach exposes the
      "canonicalized" form of the variable value to guc.c without having to do
      an actual assignment.  And that lets us fix the problem recently noted by
      Bernd Helmle that the auto-tune patch for wal_buffers resulted in bogus
      log messages about "parameter "wal_buffers" cannot be changed without
      restarting the server".  There may be some speed advantage too, because
      this design lets hook functions avoid re-parsing variable values when
      restoring a previous state after a rollback (they can store a pre-parsed
      representation of the value instead).  This patch also resolves a
      longstanding annoyance about custom error messages from variable assign
      hooks: they should modify, not appear separately from, guc.c's own message
      about "invalid parameter value".
      2594cf0e
  23. Jan 01, 2011
  24. Dec 13, 2010
  25. Nov 12, 2010
    • Peter Eisentraut's avatar
      Improved parallel make support · 19e231bb
      Peter Eisentraut authored
      Replace for loops in makefiles with proper dependencies.  Parallel
      make can now span across directories.  Also, make -k and make -q work
      properly.
      
      GNU make 3.80 or newer is now required.
      19e231bb
  26. Oct 29, 2010
  27. Sep 22, 2010
  28. Sep 20, 2010
  29. Aug 26, 2010
  30. Jul 06, 2010
  31. Jul 05, 2010
    • Tom Lane's avatar
      Split the LDFLAGS make variable into two parts: LDFLAGS is now used for · 291a9577
      Tom Lane authored
      linking both executables and shared libraries, and we add on LDFLAGS_EX when
      linking executables or LDFLAGS_SL when linking shared libraries.  This
      provides a significantly cleaner way of dealing with link-time switches than
      the former behavior.  Also, make sure that the various platform-specific
      %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that
      before.  (I did not add these variables for the platforms that invoke $(LD)
      directly, however.  It's not clear if we can do that safely, since for the
      most part we assume these variables use CC command-line syntax.)
      
      Per gripe from Aaron Swenson and subsequent investigation.
      291a9577
  32. May 20, 2010
  33. May 12, 2010
  34. Apr 15, 2010
  35. Apr 09, 2010
  36. Apr 08, 2010
  37. Apr 06, 2010
Loading