1. 02 12月, 2017 1 次提交
    • I
      Add Zstandard compression option for append-optimized tables. · 724f9d27
      Ivan Leskin 提交于
      Add a new compression option for append-optimized tables, "zstd". It is
      generally faster than zlib or quicklz, and compresses better. Or at least
      it can be faster or compress better, if not both at the same time, by
      adjusting the compression level. A major advantage of Zstandard is the wide
      range of tuning, to choose the trade-off between compression speed and
      ratio.
      
      Update documentation to mention "zstd" alongside "zlib" and "quicklz". More
      could be done; all the examples still use zlib or quicklz, for example, and
      I think we want to emphasize Zstandard more in the docs, over those other
      options. But this is the bare minimum to keep the docs factually correct.
      
      Using the new option requires building the server with the libzstd library.
      A new --with-zstd option is added for that. The default is to build without
      libzstd, for now, but we should probably change the default to be on, after
      we have had a chance to update all the buildfarm machines to have libzstd.
      
      Patch by Ivan Leskin, Dmitriy Pavlov, Anton Chevychalov. Test case, docs
      changes, and some minor editorialization by Heikki Linnakangas.
      724f9d27
  2. 01 12月, 2017 5 次提交
  3. 30 11月, 2017 4 次提交
  4. 07 11月, 2017 1 次提交
  5. 23 10月, 2017 1 次提交
  6. 28 9月, 2017 1 次提交
  7. 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
  8. 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
  9. 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
  10. 07 9月, 2017 1 次提交
  11. 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
  12. 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
  13. 25 8月, 2017 1 次提交
  14. 15 8月, 2017 1 次提交
  15. 10 8月, 2017 1 次提交
  16. 05 8月, 2017 1 次提交
  17. 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
  18. 06 6月, 2017 1 次提交
  19. 05 6月, 2017 1 次提交
  20. 02 6月, 2017 2 次提交
  21. 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
  22. 17 5月, 2017 1 次提交
  23. 16 5月, 2017 2 次提交
  24. 11 5月, 2017 4 次提交
  25. 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
  26. 29 4月, 2017 1 次提交
  27. 11 4月, 2017 1 次提交