1. 30 Nov, 2020 1 commit
    • Tom Lane's avatar
      Remove configure-time probe for DocBook DTD. · 4823c4f6
      Tom Lane authored
      Checking for DocBook being installed was valuable when we were on the
      OpenSP docs toolchain, because that was rather hard to get installed
      fully.  Nowadays, as long as you have xmllint and xsltproc installed,
      you're good, because those programs will fetch the DocBook files off
      the net at need.  Moreover, testing this at configure time means that
      a network access may well occur whether or not you have any interest
      in building the docs later.  That can be slow (typically 2 or 3
      seconds, though much higher delays have been reported), and it seems
      not very nice to be doing an off-machine access without warning, too.
      
      Hence, drop the PGAC_CHECK_DOCBOOK probe, and adjust related
      documentation.  Without that macro, there's not much left of
      config/docbook.m4 at all, so I just removed it.
      
      Back-patch to v11, where we started to use xmllint in the
      PGAC_CHECK_DOCBOOK probe.
      
      Discussion: https://postgr.es/m/E2EE6B76-2D96-408A-B961-CAE47D1A86F0@yesql.se
      Discussion: https://postgr.es/m/A55A7FC9-FA60-47FE-98B5-139CDC57CE6E@gmail.com
      4823c4f6
  2. 19 Nov, 2018 1 commit
    • Tom Lane's avatar
      Fix configure's AC_CHECK_DECLS tests to work correctly with clang. · 16fbac39
      Tom Lane authored
      The test case that Autoconf uses to discover whether a function has
      been declared doesn't work reliably with clang, because clang reports
      a warning not an error if the name is a known built-in function.
      On some platforms, this results in a lot of compile-time warnings about
      strlcpy and related functions not having been declared.
      
      There is a fix for this (by Noah Misch) in the upstream Autoconf sources,
      but since they've not made a release in years and show no indication of
      doing so anytime soon, let's just absorb their fix directly.  We can
      revert this when and if we update to a newer Autoconf release.
      
      Back-patch to all supported branches.
      
      Discussion: https://postgr.es/m/26819.1542515567@sss.pgh.pa.us
      16fbac39
  3. 21 Mar, 2018 1 commit
  4. 15 Jun, 2017 1 commit
  5. 23 Mar, 2017 1 commit
    • Peter Eisentraut's avatar
      ICU support · eccfef81
      Peter Eisentraut authored
      Add a column collprovider to pg_collation that determines which library
      provides the collation data.  The existing choices are default and libc,
      and this adds an icu choice, which uses the ICU4C library.
      
      The pg_locale_t type is changed to a union that contains the
      provider-specific locale handles.  Users of locale information are
      changed to look into that struct for the appropriate handle to use.
      
      Also add a collversion column that records the version of the collation
      when it is created, and check at run time whether it is still the same.
      This detects potentially incompatible library upgrades that can corrupt
      indexes and other structures.  This is currently only supported by
      ICU-provided collations.
      
      initdb initializes the default collation set as before from the `locale
      -a` output but also adds all available ICU locales with a "-x-icu"
      appended.
      
      Currently, ICU-provided collations can only be explicitly named
      collations.  The global database locales are still always libc-provided.
      
      ICU support is enabled by configure --with-icu.
      Reviewed-by: default avatarThomas Munro <thomas.munro@enterprisedb.com>
      Reviewed-by: default avatarAndreas Karlsson <andreas@proxel.se>
      eccfef81
  6. 08 Jul, 2015 1 commit
    • Heikki Linnakangas's avatar
      Replace our hacked version of ax_pthread.m4 with latest upstream version. · e97af6c8
      Heikki Linnakangas authored
      Our version was different from the upstream version in that we tried to use
      all possible pthread-related flags that the compiler accepts, rather than
      just the first one that works. That change was made in commit
      e48322a6, to work-around a bug affecting GCC
      versions 3.2 and below (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8888),
      although we didn't realize that it was a GCC bug at the time. We hardly care
      about that old GCC versions anymore, so we no longer need that workaround.
      
      This fixes the macro for compilers that print warnings with the chosen
      flags. That's pretty annoying on its own right, but it also inconspicuously
      disabled thread-safety, because we refused to use any pthread-related flags
      if the compiler produced warnings. Max Filippov reported that problem when
      linking with uClibc and OpenSSL. The warnings-check was added because the
      workaround for the GCC bug caused warnings otherwise, so it's no longer
      needed either. We can just use the upstream version as is.
      
      If you really want to compile with GCC version 3.2 or older, you can still
      work-around it manually by setting PTHREAD_CFLAGS="-pthread -lpthread"
      manually on the configure command line.
      
      Backpatch to 9.5. I don't want to unnecessarily rock the boat on stable
      branches, but 9.5 seems like fair game.
      e97af6c8
  7. 20 Sep, 2010 1 commit
  8. 23 Apr, 2004 1 commit
  9. 19 Jan, 2004 1 commit
  10. 29 Nov, 2003 1 commit
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  11. 04 Sep, 2002 1 commit
  12. 29 Mar, 2002 1 commit
  13. 26 Aug, 2001 1 commit
  14. 05 Mar, 2001 1 commit
    • Peter Mount's avatar
      · c18bb990
      Peter Mount authored
      Ok, I've split todays commit into three, the first two already done had some
      bits in JDBC & the first set of tools into contrib.
      
      This is the third, and deals with enabling JDBC to be compiled with the main
      source.
      
      What it does is add a new option to configure: --with-java
      
      This option tells configure to look for ant (our build tool of choice) and
      if found, it then compiles both the JDBC driver and the new tools as part
      of the normal make.
      
      Also, when the postgresql install is done, all the .jar files are also
      installed into the ${PGLIB}/java directory (thought best to keep then separate)
      
      Now I had some conflicts when this applied so could someone please double check
      that everything is ok?
      
      Peter
      c18bb990
  15. 05 Nov, 2000 1 commit
  16. 20 Oct, 2000 1 commit
  17. 25 Sep, 2000 1 commit
  18. 21 Sep, 2000 1 commit
  19. 29 Aug, 2000 1 commit
  20. 28 Aug, 2000 1 commit
  21. 27 Aug, 2000 1 commit
  22. 26 Aug, 2000 1 commit
  23. 14 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Big warnings cleanup for Solaris/GCC. Down to about 40 now, but · 44d1abeb
      Peter Eisentraut authored
      we'll get there one day.
      
      Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
      have automake installed.
      
      Only run the autoconf rule in the top-level GNUmakefile if the
      invoker specified `make configure', don't run it automatically
      because of CVS timestamp skew.
      44d1abeb
  24. 11 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Substituted new configure test for types of accept() · 06cd0f1a
      Peter Eisentraut authored
      Interfaced a lot of the custom tests to the config.cache, in the process
      made them separate macros and grouped them out into files. Made naming
      adjustments.
      
      Removed a couple of useless/unused configure tests.
      
      Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl.
      And it breaks equally often. :(
      06cd0f1a
  25. 10 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Moved the intricacies of the perl interface build into its own makefile · 6de89c9a
      Peter Eisentraut authored
      that now functions as a wrapper around the MakeMaker stuff. It might
      even behave sensically when we have separate build dirs. Same for plperl,
      which of course still doesn't work very well. Made sure that plperl
      respects the choice of --libdir.
      
      Added --with-python to automatically build and install the Python interface.
      Works similarly to the Perl5 stuff.
      
      Moved the burden of the distclean targets lower down into the source tree.
      Eventually, each make file should have its own.
      
      Added automatic remaking of makefiles and configure. Currently only for the
      top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around
      missing autoconf and aclocal. Start factoring out macros into their own
      config/*.m4 files to increase readability and organization.
      6de89c9a