1. 02 May, 2018 1 commit
  2. 01 May, 2018 12 commits
  3. 30 Apr, 2018 13 commits
  4. 29 Apr, 2018 5 commits
    • Tom Lane's avatar
      Avoid wrong results for power() with NaN input on more platforms. · 6bdf1303
      Tom Lane authored
      Buildfarm results show that the modern POSIX rule that 1 ^ NaN = 1 is not
      honored on *BSD until relatively recently, and really old platforms don't
      believe that NaN ^ 0 = 1 either.  (This is unsurprising, perhaps, since
      SUSv2 doesn't require either behavior.)  In hopes of getting to platform
      independent behavior, let's deal with all the NaN-input cases explicitly
      in dpow().
      
      Note that numeric_power() doesn't know either of these special cases.
      But since that behavior is platform-independent, I think it should be
      addressed separately, and probably not back-patched.
      
      Discussion: https://postgr.es/m/75DB81BEEA95B445AE6D576A0A5C9E936A73E741@BPXM05GP.gisp.nec.co.jp
      6bdf1303
    • Tom Lane's avatar
      Get more info about Windows can't-reattach-to-shared-memory errors. · 68e7e973
      Tom Lane authored
      Commit 63ca350e neglected to probe the state of things *before*
      the VirtualFree call, which now looks like it might be interesting.
      
      Discussion: https://postgr.es/m/25495.1524517820@sss.pgh.pa.us
      68e7e973
    • Tom Lane's avatar
      Update time zone data files to tzdata release 2018d. · df629586
      Tom Lane authored
      DST law changes in Palestine and Antarctica (Casey Station).  Historical
      corrections for Portugal and its colonies, as well as Enderbury, Jamaica,
      Turks & Caicos Islands, and Uruguay.
      df629586
    • Tom Lane's avatar
      Avoid wrong results for power() with NaN input on some platforms. · 61b200e2
      Tom Lane authored
      Per spec, the result of power() should be NaN if either input is NaN.
      It appears that on some versions of Windows, the libc function does
      return NaN, but it also sets errno = EDOM, confusing our code that
      attempts to work around shortcomings of other platforms.  Hence, add
      guard tests to avoid substituting a wrong result for the right one.
      
      It's been like this for a long time (and the odd behavior only appears
      in older MSVC releases, too) so back-patch to all supported branches.
      
      Dang Minh Huong, reviewed by David Rowley
      
      Discussion: https://postgr.es/m/75DB81BEEA95B445AE6D576A0A5C9E936A73E741@BPXM05GP.gisp.nec.co.jp
      61b200e2
    • Tom Lane's avatar
      Cosmetic improvement: use BKI_DEFAULT and BKI_LOOKUP in pg_language. · 85475afd
      Tom Lane authored
      The point of this is not really to remove redundancy in pg_language.dat;
      with only three entries, it's hardly worth it.  Rather, it is to get
      to a point where there are exactly zero hard-coded numeric pg_proc OID
      references in the catalog .dat files.  The lanvalidator column was the
      only remaining location of such references, and it seems like a good
      thing for future-proofing reasons to make it not be a special case.
      
      There are still a few places in the .dat files with numeric OID references
      to other catalogs, but after review I don't see any that seem worth
      changing at present.  In each case there are just too few entries to make
      it worth the trouble to create lookup infrastructure.
      
      This doesn't change the emitted postgres.bki file, so no catversion bump.
      85475afd
  5. 28 Apr, 2018 8 commits
  6. 27 Apr, 2018 1 commit