Skip to content
Snippets Groups Projects
  1. Jul 09, 2010
  2. 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
  3. Jun 04, 2010
  4. May 25, 2010
  5. May 14, 2010
  6. Apr 30, 2010
  7. 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
  8. Feb 23, 2010
  9. Feb 22, 2010
  10. Feb 19, 2010
  11. Feb 17, 2010
  12. 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
  13. Jan 16, 2010
    • Tom Lane's avatar
      Re-order configure tests to reflect the fact that the code generated for · a6c75be2
      Tom Lane authored
      posix_fadvise and other file-related functions can depend on _LARGEFILE_SOURCE
      and/or _FILE_OFFSET_BITS.  Per report from Robert Treat.
      
      Back-patch to 8.4.  This has been wrong all along, but we weren't really using
      posix_fadvise in anger before, and AC_FUNC_FSEEKO seems to mask the issue well
      enough for that function.
      a6c75be2
  14. Jan 07, 2010
    • Tom Lane's avatar
      c7f08913
    • Tom Lane's avatar
      Make configure check the version of Perl we're building with, and reject · 55233c33
      Tom Lane authored
      versions < 5.8.  Also, if there's no Perl, emit a warning informing the
      user that he won't be able to build from a CVS pull.  This is exactly the
      same treatment we give Bison and Perl, and for the same reasons.
      55233c33
    • Tom Lane's avatar
      Alter the configure script to fail immediately if the C compiler does not · d15cb38d
      Tom Lane authored
      provide a working 64-bit integer datatype.  As recently noted, we've been
      broken on such platforms since early in the 8.4 development cycle.  Since
      it took nearly two years for anyone to even notice, it seems that the
      rationale for continuing to support such platforms has reached the point
      of non-existence.  Rather than thrashing around to try to make it work
      again, we'll just admit up front that this no longer works.
      
      Back-patch to 8.4 since that branch is also broken.
      
      We should go around to remove INT64_IS_BUSTED support, but just in HEAD,
      so that seems like material for a separate commit.
      d15cb38d
  15. Jan 02, 2010
  16. Dec 31, 2009
  17. 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
  18. Dec 11, 2009
  19. Dec 02, 2009
    • Bruce Momjian's avatar
      thread-safety · 8c1c2e38
      Bruce Momjian authored
      Apply full patch to enable thread-safety by default, e.g. doc changes.
      8c1c2e38
    • Bruce Momjian's avatar
      Enable thread safety · 925b32bb
      Bruce Momjian authored
      Enable thread safety on all platforms.  This will either be followed up
      by a more extensive patch, or reverted, depending on the build farm
      results.
      925b32bb
  20. Nov 30, 2009
    • Bruce Momjian's avatar
      THREAD_SUPPORT · 891f924b
      Bruce Momjian authored
      There is no reference to THREAD_SUPPORT outside configure, and it is
      never set, so remove it.
      891f924b
  21. Oct 14, 2009
  22. Oct 01, 2009
  23. Sep 14, 2009
    • Tom Lane's avatar
      Write psql's ~/.psql_history file using history_truncate_file() and · e97281c4
      Tom Lane authored
      append_history(), if libreadline is new enough to have those functions
      (they seem to be present at least since 4.2; but libedit may not have them).
      This gives significantly saner behavior when two or more sessions overlap in
      their use of the history file; although having two sessions exit at just the
      same time is still perilous to your history.  The behavior of \s remains
      unchanged, ie, overwrite whatever was there.
      Per bug #5052 from Marek Wójtowicz.
      e97281c4
  24. 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
    • Tom Lane's avatar
      Replace use of the long-deprecated Bonjour API DNSServiceRegistrationCreate · 59b9f3d3
      Tom Lane authored
      with the not-so-deprecated DNSServiceRegister.  This patch shouldn't change
      any user-visible behavior, it just gets rid of a deprecation warning in
      --with-bonjour builds.  The new code will fail on OS X releases before 10.3,
      but it seems unlikely that anyone will want to run Postgres 8.5 on 10.2.
      59b9f3d3
  25. Aug 27, 2009
    • Peter Eisentraut's avatar
      Update of install-sh, mkinstalldirs, and associated configury · 9d182ef0
      Peter Eisentraut authored
      Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
      changes (which I simplified a bit).  install-sh is now able to install
      multiple files in one run, so we could simplify our makefiles sometime.
      
      install-sh also now has a -d option to create directories, so we don't need
      mkinstalldirs anymore.
      
      Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
      instead of install-sh -d.  For consistency with the rest of the world,
      the corresponding make variable has been renamed from $(mkinstalldirs) to
      $(MKDIR_P).
      9d182ef0
  26. Aug 05, 2009
    • Peter Eisentraut's avatar
      Use DocBook XSL stylesheets for man page building · c29d7f02
      Peter Eisentraut authored
      This switches the man page building process to use the DocBook XSL stylesheet
      toolchain.  The previous targets for Docbook2X are removed. configure has been
      updated to look for the new tools.  The Documentation appendix contains the
      new build instructions.  There are also a few isolated tweaks in the
      documentation to improve places that came out strangely in the man pages.
      c29d7f02
  27. Jul 24, 2009
  28. Jul 16, 2009
    • Tom Lane's avatar
      Add erand48() to the set of functions supported by our src/port/ library, · c43feefa
      Tom Lane authored
      and extend configure to test for it properly instead of hard-wiring
      an assumption that everybody but Windows has the rand48 functions.
      (We do cheat to the extent of assuming that probing for erand48 will do
      for the entire rand48 family.)
      
      erand48() is unused as of this commit, but a followon patch will cause
      GEQO to depend on it.
      
      Andres Freund, additional hacking by Tom
      c43feefa
  29. Jul 13, 2009
  30. Jul 02, 2009
    • Peter Eisentraut's avatar
      Upgrade to Autoconf 2.63 · 7cc514ac
      Peter Eisentraut authored
      This upgrades the configure infrastructure to the latest Autoconf version.
      Some notable news are:
       - The workaround for the broken fseeko() test is gone.
       - Checking for unknown options is now provided by Autoconf itself.
       - Fixes for Mac OS X
      7cc514ac
Loading