1. 01 12月, 2017 3 次提交
  2. 30 11月, 2017 4 次提交
  3. 07 11月, 2017 1 次提交
  4. 23 10月, 2017 1 次提交
  5. 28 9月, 2017 1 次提交
  6. 21 9月, 2017 1 次提交
    • D
      Use autoconf for resolving PXF library dependency · 6f1ca717
      Daniel Gustafsson 提交于
      Leverage the core autoconf scaffolding for resolving the dependency
      on libcurl. Enabling PXF in autoconf now automatically adds libcurl
      as a dependency. Coupled with the recent commit which relaxes the
      curl version requirement on macOS, we can remove the library copying
      from the PXF makefile as well.
      6f1ca717
  7. 15 9月, 2017 1 次提交
    • H
      Make it possible to build without libbz2, also on non-Windows. · d6749c3c
      Heikki Linnakangas 提交于
      The bzip2 library is only used by the gfile/fstream code, used for external
      tables and gpfdist. The usage of bzip2 was in #ifndef WIN32 blocks, so it
      was only built on non-Windows systems.
      
      Instead of tying it to the platform, use a proper autoconf check and
      HAVE_LIBBZ2 flags. This makes it possible to build gpfdist with bzip2
      support on Windows, as well as building without bzip2 on non-Windows
      systems. That makes it easier to test the otherwise Windows-only codepaths
      on other platforms. --with-libbz2 is still the default, but you can now use
      --without-libbz2 if you wish.
      
      I'm sure that some regression tests will fail if you actually build the
      server without libbz2, but I'm not going to address that right now. We have
      similar problems with other features that are in principle optional, but
      cause some regression tests to fail.
      
      Also use "#ifdef HAVE_LIBZ" rather than "#ifndef WIN32" to enable/disable
      zlib support in gpfdist. Building the server still fails if you use
      --without-zlib, but at least you can build the client programs without
      zlib, also on non-Windows systems.
      
      Remove obsolete copy of bzlib.h from the repository while we're at it.
      d6749c3c
  8. 14 9月, 2017 1 次提交
    • D
      Use built-in JSON parser for PXF fragments (#3185) · 9f4497fd
      Daniel Gustafsson 提交于
      * Use built-in JSON parser for PXF fragments
      
      Instead of relying on a external library, use the built-in JSON
      parser in the backend for the PXF fragments parsing. Since this
      replaces the current implementation with an event-based callback
      parser, the code is more complicated, but dogfooding the parser
      that we want extension writers to use is a good thing.
      
      This removes the dependency on json-c from autoconf, and enables
      building PXF on Travis for extra coverage.
      
      * Use elog for internal errors, and ereport for user errors
      
      Internal errors where we are interested in source filename should
      use elog() which will decorate the error messages automatically
      with this information. The connection error is interesting for the
      user however, use ereport() instead there.
      9f4497fd
  9. 07 9月, 2017 1 次提交
  10. 04 9月, 2017 1 次提交
    • D
      Move version printing to common module for Perl code · 7d64740b
      Daniel Gustafsson 提交于
      The perl code in src/test/regress was using a mix of either not
      printing the version, printing it wrong (due to us not using CVS
      anymore) or using a hardcoded string. Implement a new module for
      common test code called GPTest.pm which abstracts this (for now
      it's the only thing it does but this might/will change, hence the
      name). The module is created by autoconf to make it pull in the
      GP_VERSION from there.
      
      While there, simplify the version output in gpdiff which included
      the version of the system diff command - somewhat uninteresting
      information as it's not something that changes very often and just
      cluttered up the output.
      
      This removes the MakeMaker support but since we have no intention
      of packaging these programs into a CPAN module it seems pointless
      to carry that format around.
      7d64740b
  11. 31 8月, 2017 1 次提交
    • L
      Bundle PXF with GPDB by default (#3109) · 6ba40dfb
      Lav Jain 提交于
      * Refactor GPHDFS regression to run for pxf
      
      * remove customized Hadoop home location
      
      * PXF tarball creation inside GPDB pipeline
      
      * Remove legacy directory
      
      * Use enable_pxf instead of with_pxf
      6ba40dfb
  12. 25 8月, 2017 1 次提交
  13. 15 8月, 2017 1 次提交
  14. 10 8月, 2017 1 次提交
  15. 05 8月, 2017 1 次提交
  16. 19 7月, 2017 1 次提交
    • P
      Backport Postgres TAP SSL tests (#2765) · 57a11a94
      Peifeng Qiu 提交于
      * Port Postgres TAP SSL tests
      Signed-off-by: NYuan Zhao <yuzhao@pivotal.io>
      
      * Add config to enable tap tests
      Signed-off-by: NYuan Zhao <yuzhao@pivotal.io>
      
      1. Add enable-tap-tests flag to control tests.
      2. Add Perl checking module.
      3. Enable tap tests for enterprise build by default.
      
      * Adapt postgres tap tests to gpdb
      
      1. Assume a running GPDB cluster instance(gpdemo), instead of
      using temp installation. Remove most node init operation.
      Disable environment variable override during test init.
      
      2. Replace node control operation with GPDB counterpart:
      start   -> gpstart -a
      stop    -> gpstop -a
      restart -> gpstop -arf
      reload  -> gpstop -u
      
      disable promote, add restart_qd.
      restart_qd -> pg_ctl -w -t 3 -D $MASTER_DATA_DIRECTORY
      
      3. Add default server key and certificate for GPDB.
      
      4. Update server setup to work with running gpdemo.
      
      5. Disable SSL alternative names cases.
      Signed-off-by: NYuan Zhao <yuzhao@pivotal.io>
      57a11a94
  17. 06 6月, 2017 1 次提交
  18. 05 6月, 2017 1 次提交
  19. 02 6月, 2017 2 次提交
  20. 25 5月, 2017 1 次提交
    • D
      Move gpmapreduce tests from src/test/regress to gpAux · d65a54c6
      Daniel Gustafsson 提交于
      The gpmapreduce application is an optional install included via
      the --enable-mapreduce configure option. The tests were however
      still in src/test/regress and unconditionally included in the
      ICW schedule, thus causing test failures when mapreduce wasn't
      configured.
      
      Move all gpmapreduce tests to co-locate them with the mapreduce
      code and only test when configured.
      
      Also, add a dependency on Perl for gpmapreduce in autoconf since
      it's a required component.
      d65a54c6
  21. 17 5月, 2017 1 次提交
  22. 16 5月, 2017 2 次提交
  23. 11 5月, 2017 4 次提交
  24. 05 5月, 2017 2 次提交
    • D
      Fix broken string in database version reporting · 891a35ed
      Daniel Gustafsson 提交于
      When splitting the Greenplum and PostgreSQL versioning in autoconf,
      the wrong variable was used when building the version string. Also
      add a test for it in ICW to catch it in case it would happen again.
      891a35ed
    • D
      Remove dead code · b2c759ca
      Daniel Gustafsson 提交于
      There was a lot of unused code in the gpMgmt bash code that hasn't
      been running for quite some time. On top of really dead code, some
      codepaths were reachable, but useless (like printing a non-existing
      version string). Remove the dead code and replace the version print
      with working code which pulls the version from the canonical source.
      b2c759ca
  25. 29 4月, 2017 1 次提交
  26. 11 4月, 2017 1 次提交
  27. 30 3月, 2017 1 次提交
    • D
      Ensure version output regardless of code tree · 0de5fc63
      Daniel Gustafsson 提交于
      Rather than relying on always having a full cloned repository when
      building, add fallbacks which work for trees with constrained (such
      as shallow-cloned trees), or no, history. When the tagged commit is
      reachable, use git describe, else rely on the version string in
      configure since that's required to always be there regardless of
      distribution mode. If we have git tree then include the HEAD sha1
      as well.
      
      While there, clean up versioning to more clearly separate us from
      upstream.
      0de5fc63
  28. 20 2月, 2017 1 次提交
    • A
      Remove -Winline from the default set of CFLAGS · 29cf392b
      Adam Lee 提交于
      	commit 3cab8bdf
      	Author: Tom Lane <tgl@sss.pgh.pa.us>
      	Date:   Tue Aug 19 19:17:40 2008 +0000
      
      	    Remove -Winline from the default set of CFLAGS for gcc.  It's gotten much
      	    too noisy to be useful as of gcc 4.3, and we were never really doing
      	    anything about inlining warnings anyway.
      29cf392b
  29. 20 1月, 2017 1 次提交
    • H
      Derive CXXFLAGS from CFLAGS. · 9e2dab0a
      Heikki Linnakangas 提交于
      To avoid having to duplicate all the flags passed to CC also for CXX, also
      apply CFLAGS to the C++ compiler. Not all of CFLAGS might be applicable
      to C++ code, however, so construct CXXFLAGS from CFLAGS, by testing each
      flag to see if it also works with CXX.
      
      By default, this adds -Wall and a bunch of other flags to the C++ command
      line.
      9e2dab0a