Skip to content
Snippets Groups Projects
  1. Mar 15, 2016
    • Tom Lane's avatar
      Cope if platform declares mbstowcs_l(), but not locale_t, in <xlocale.h>. · e39f86fe
      Tom Lane authored
      Previously, we included <xlocale.h> only if necessary to get the definition
      of type locale_t.  According to notes in PGAC_TYPE_LOCALE_T, this is
      important because on some versions of glibc that file supplies an
      incompatible declaration of locale_t.  (This info may be obsolete, because
      on my RHEL6 box that seems to be the *only* definition of locale_t; but
      there may still be glibc's in the wild for which it's a live concern.)
      
      It turns out though that on FreeBSD and maybe other BSDen, you can get
      locale_t from stdlib.h or locale.h but mbstowcs_l() and friends only from
      <xlocale.h>.  This was leaving us compiling calls to mbstowcs_l() and
      friends with no visible prototype, which causes a warning and could
      possibly cause actual trouble, since it's not declared to return int.
      
      Hence, adjust the configure checks so that we'll include <xlocale.h>
      either if it's necessary to get type locale_t or if it's necessary to
      get a declaration of mbstowcs_l().
      
      Report and patch by Aleksander Alekseev, somewhat whacked around by me.
      Back-patch to all supported branches, since we have been using
      mbstowcs_l() since 9.1.
      e39f86fe
  2. Dec 11, 2015
  3. Nov 18, 2015
    • Tom Lane's avatar
      Accept flex > 2.5.x in configure. · 6e1d26f1
      Tom Lane authored
      Per buildfarm member anchovy, 2.6.0 exists in the wild now.
      Hopefully it works with Postgres; if not, we'll have to do something
      about that, but in any case claiming it's "too old" is pretty silly.
      6e1d26f1
  4. Jul 30, 2015
    • Noah Misch's avatar
      Blacklist xlc 32-bit inlining. · 0a89f3bc
      Noah Misch authored
      Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
      versions).  While only 9.4 and up have code known to elicit this
      compiler bug, we were disabling inlining by accident until commit
      43d89a23.
      0a89f3bc
  5. May 27, 2015
    • Tom Lane's avatar
      Remove configure check prohibiting threaded libpython on OpenBSD. · 1b145712
      Tom Lane authored
      According to recent tests, this case now works fine, so there's no reason
      to reject it anymore.  (Even if there are still some OpenBSD platforms
      in the wild where it doesn't work, removing the check won't break any case
      that worked before.)
      
      We can actually remove the entire test that discovers whether libpython
      is threaded, since without the OpenBSD case there's no need to know that
      at all.
      
      Per report from Davin Potts.  Back-patch to all active branches.
      1b145712
  6. May 10, 2014
    • Tom Lane's avatar
      Accept tcl 8.6 in configure's probe for tclsh. · 9bc1b439
      Tom Lane authored
      Usually the search would find plain "tclsh" without any trouble,
      but some installations might only have the version-numbered flavor
      of that program.
      
      No compatibility problems have been reported with 8.6, so we might
      as well back-patch this to all active branches.
      
      Christoph Berg
      9bc1b439
  7. May 02, 2014
    • Tom Lane's avatar
      Fix "quiet inline" configure test for newer clang compilers. · 5788052f
      Tom Lane authored
      This test used to just define an unused static inline function and check
      whether that causes a warning.  But newer clang versions warn about
      unused static inline functions when defined inside a .c file, but not
      when defined in an included header, which is the case we care about.
      Change the test to cope.
      
      Andres Freund
      5788052f
  8. May 15, 2012
    • Tom Lane's avatar
      Put back AC_REQUIRE([AC_STRUCT_TM]). · f667747b
      Tom Lane authored
      The BSD-ish members of the buildfarm all seem to think removing this
      was a bad idea.  It looks to me like it resulted in omitting the system
      header inclusion necessary to detect the fields of struct tm correctly.
      f667747b
  9. May 14, 2012
  10. May 08, 2012
  11. Mar 22, 2012
    • Tom Lane's avatar
      Fix configure's search for collateindex.pl. · f2386d71
      Tom Lane authored
      PGAC_PATH_COLLATEINDEX supposed that it could use AC_PATH_PROGS to search
      for collateindex.pl, but that macro will only accept files that are marked
      executable, and at least some DocBook installations don't mark the script
      executable (a case the docs Makefile was already prepared for).  Accept the
      script if it's present and readable in $DOCBOOKSTYLE/bin, and otherwise
      search the PATH as before.
      
      Having fixed that up, we don't need the fallback case that was in the docs
      Makefile, and instead can throw an understandable error if configure didn't
      find the script.  Per recent trouble report from John Lumby.
      f2386d71
  12. Feb 20, 2012
  13. Dec 10, 2011
  14. Nov 29, 2011
  15. Aug 18, 2011
    • Peter Eisentraut's avatar
      Improve detection of Python 3.2 installations · f8c2029e
      Peter Eisentraut authored
      Because of ABI tagging, the library version number might no longer be
      exactly the Python version number, so do extra lookups.  This affects
      installations without a shared library, such as ActiveState's
      installer.
      
      Also update the way to detect the location of the 'config' directory,
      which can also be versioned.
      
      Ashesh Vashi
      f8c2029e
  16. May 26, 2011
    • Tom Lane's avatar
      Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if possible. · 44404f39
      Tom Lane authored
      This is reported to be necessary on some versions of that OS.  In service
      of this, cause PGAC_PROG_CC_CFLAGS_OPT to reject switches that result in
      compiler warnings, since on yet other versions of that OS, the switch does
      nothing except provoke a warning.
      
      Report and patch by Ibrar Ahmed, further tweaking by me.
      44404f39
  17. May 19, 2011
  18. Feb 16, 2011
  19. Feb 08, 2011
    • Peter Eisentraut's avatar
      Per-column collation support · 414c5a2e
      Peter Eisentraut authored
      This adds collation support for columns and domains, a COLLATE clause
      to override it per expression, and B-tree index support.
      
      Peter Eisentraut
      reviewed by Pavel Stehule, Itagaki Takahiro, Robert Haas, Noah Misch
      414c5a2e
  20. Jan 31, 2011
  21. Nov 23, 2010
  22. Oct 25, 2010
  23. Sep 29, 2010
  24. Sep 24, 2010
  25. Sep 23, 2010
  26. Sep 20, 2010
  27. Aug 26, 2010
    • Tom Lane's avatar
      Don't auto-create the subdirectories holding built documentation in a VPATH · 39ce62b1
      Tom Lane authored
      build tree.  If we actually build the docs in the VPATH tree, those dirs
      will get created then; but if they're present and empty, they capture the
      vpathsearch searches in "make install", preventing installation of prebuilt
      docs that might exist in the source tree.  Per bug #5595 from Dmtiriy Igrishin.
      Fix based on idea from Peter Eisentraut.
      39ce62b1
  28. Aug 19, 2010
  29. May 25, 2010
  30. May 12, 2010
  31. Mar 17, 2010
    • Peter Eisentraut's avatar
      Don't link PL/Python against LOCALMODLIBS · 7e8a60b7
      Peter Eisentraut authored
      This variable is apparently only for Python internally.  In newer releases
      of Python this variable pulls in more and more libraries that users are
      less likely to have, leading to potential build failures.
      7e8a60b7
  32. Feb 23, 2010
  33. Feb 22, 2010
  34. Feb 13, 2010
    • Tom Lane's avatar
      Support inlining various small performance-critical functions on non-GCC · e08ab7c3
      Tom Lane authored
      compilers, by applying a configure check to see if the compiler will accept
      an unreferenced "static inline foo ..." function without warnings.  It is
      believed that such warnings are the only reason not to declare inlined
      functions in headers, if the compiler understands "inline" at all.
      
      Kurt Harriman
      e08ab7c3
  35. Jan 07, 2010
  36. Dec 15, 2009
    • Peter Eisentraut's avatar
      Python 3 support in PL/Python · dd4cd55c
      Peter Eisentraut authored
      Behaves more or less unchanged compared to Python 2, but the new language
      variant is called plpython3u.  Documentation describing the naming scheme
      is included.
      dd4cd55c
  37. Oct 14, 2009
  38. Sep 08, 2009
    • Tom Lane's avatar
      Remove any -arch switches given in ExtUtils::Embed's ldopts from our · d69a419e
      Tom Lane authored
      perl_embed_ldflags setting.  On OS X it seems that ExtUtils::Embed is
      trying to force a universal binary to be built, but you need to specify
      that a lot further upstream if you want Postgres built that way; the only
      result of including -arch in perl_embed_ldflags is some warnings at the
      plperl.so link step.  Per my complaint and Jan Otto's suggestion.
      d69a419e
Loading