1. 14 4月, 2016 1 次提交
  2. 13 4月, 2016 2 次提交
    • A
      s3ext: fix memleaks and a forwarding null bug · 15882850
      Adam Lee 提交于
      This commit fixes issues below:
      
      extractContent() might forward NULL to marker.
      ListBucket() fogets to delete keylist when errors happen.
      contents in ListBucketResult are not cleared.
      downloader is not destroyed in unit tests.
      get_opt_s3() and truncate_options() in unit tests need to be freed.
      xmlNodeGetContent() needs to be freed.
      xml.ctxt->myDoc needs to be freed.
      function for the XML library needs to be cleared.
      
      Thanks to Kuien and Valgrind.
      15882850
    • H
      58bbcbac
  3. 08 4月, 2016 2 次提交
  4. 18 3月, 2016 1 次提交
  5. 02 4月, 2016 1 次提交
    • H
      Support casts to/from string types for every datatype · d481bd72
      Haozhou Wang 提交于
      Backport below commits from upstream:
      
          commit 31edbadf
          Author: Tom Lane <tgl@sss.pgh.pa.us>
          Date:   Tue Jun 5 21:31:09 2007 +0000
      
              Downgrade implicit casts to text to be assignment-only, except for the ones
              from the other string-category types; this eliminates a lot of surprising
              interpretations that the parser could formerly make when there was no directly
              applicable operator.
      
              Create a general mechanism that supports casts to and from the standard string
              types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's
              I/O functions.  These new casts are assignment-only in the to-string direction,
              explicit-only in the other, and therefore should create no surprising behavior.
              Remove a bunch of thereby-obsoleted datatype-specific casting functions.
      
              The "general mechanism" is a new expression node type CoerceViaIO that can
              actually convert between *any* two datatypes if their external text
              representations are compatible.  This is more general than needed for the
              immediate feature, but might be useful in plpgsql or other places in future.
      
              This commit does nothing about the issue that applying the concatenation
              operator || to non-text types will now fail, often with strange error messages
              due to misinterpreting the operator as array concatenation.  Since it often
              (not always) worked before, we should either make it succeed or at least give
              a more user-friendly error; but details are still under debate.
      
              Peter Eisentraut and Tom Lane
      
          commit bf940763
          Author: Tom Lane <tgl@sss.pgh.pa.us>
          Date:   Tue Mar 27 23:21:12 2007 +0000
      
              Fix array coercion expressions to ensure that the correct volatility is
              seen by code inspecting the expression.  The best way to do this seems
              to be to drop the original representation as a function invocation, and
              instead make a special expression node type that represents applying
              the element-type coercion function to each array element.  In this way
              the element function is exposed and will be checked for volatility.
              Per report from Guillaume Smet.
      d481bd72
  6. 22 3月, 2016 5 次提交
  7. 17 3月, 2016 1 次提交
  8. 19 3月, 2016 1 次提交
  9. 18 3月, 2016 1 次提交
  10. 10 3月, 2016 3 次提交
    • D
      Remove unused compiler flags from mapreduce Makefile · 97f7896c
      Daniel Gustafsson 提交于
      GPMapreduce isn't threaded so -pthreads is a noop causing annoying
      warning messages in clang.
      97f7896c
    • D
      Connect GPMapreduce to the build · e60fe566
      Daniel Gustafsson 提交于
      This adds a new switch to autoconf, --enable-mapreduce, to connect
      the GPMapreduce extension to the build. If set to on the mapreduce
      extension in gpAux/extensions will be built and installed.  As a
      side effect this will properly clean and distclean for gpfdist in
      gpAux/extensions as well. Autoconf checks for libyaml since it's
      a depedency for GPMapreduce.
      
      This is the first stab at gpmapreduce, once in we can start moving
      gpmapreduce back into src/bin and move the mapreduce test suite in
      under gpAux/extensions.
      e60fe566
    • D
      Fix header guard definitions in gpmapreduce · c54bfd8b
      Daniel Gustafsson 提交于
      c54bfd8b
  11. 09 3月, 2016 2 次提交
  12. 08 3月, 2016 1 次提交
  13. 05 3月, 2016 1 次提交
  14. 02 3月, 2016 4 次提交
  15. 29 2月, 2016 1 次提交
  16. 27 2月, 2016 1 次提交
    • M
      Move gpfdist to gpdb core. · e00ca2c4
      Marbin Tan 提交于
      As gpfdist will now be part of the gpdb build by default, we may just
      treat it as part of gpdb core.
      * Integrate gpfdist configure file to the top level configure and
        changed necessary files to accomadate the changes.
      * Modify travis.yml for gpfdist structural changes
      * Update gpfdist.c to use GP_VERSION from pg_config.h
      
      Fix warning issues from transform.c
      * There were many prototype warnings that was being mentioned.
        Added a headerfile for missing prototype warnings, also included the
        structs into the headerfile.
      
      Replace src/port/glob.c
      * src/port/glob.c is dead code at the moment and can be safely replaced by
        the windows changes from gpfdist/port
      
      Check for libyaml:
      * disable transformations for gpfdist if not found.
      e00ca2c4
  17. 25 2月, 2016 1 次提交
  18. 24 2月, 2016 2 次提交
  19. 22 2月, 2016 1 次提交
    • H
      Remove checkstyle support. · bcf0caab
      Heikki Linnakangas 提交于
      I tried running this, and got a ton of errors. I don't think anyone's
      used this for ages, so let's stop pretending that you might want to run
      it. It might be a useful tool, as might some other style-checker or static
      analysis tool, but this doesn't seem useful in its current state.
      bcf0caab
  20. 19 2月, 2016 1 次提交
  21. 17 2月, 2016 1 次提交
  22. 13 2月, 2016 1 次提交
  23. 09 2月, 2016 1 次提交
    • H
      Clean up the Vacuum and Analyze related structs. · b1b8cbde
      Heikki Linnakangas 提交于
      Revert the VacAttrStats struct to look the same as in upstream. As a
      consequence, we have to also revert the GPDB-specific changes to PostGIS
      typanalyze functions. VacAttrStats is part of the public API for
      type-specific typanalyze functions, so it's nice to revert that back the
      way it is in the upstream, to make custom datatypes written for PostgreSQL
      more easily portable to GPDB.
      
      To my surprise, the VacAttrStats struct isn't currently used for anything,
      so the changes to it were quite superfluous to begin with. That is to say,
      we don't currently use type-specific typanalyze functions at all. That's
      about to change, as part of a separate patch I'm working on to revert most
      of analyze.c to use upstream code.
      
      Also remove the unused VPgStatisticsStats struct, and the unnecessary
      abstraction where VUpdateStats can be either VPgClassStats or
      VPgStatisticsStats.
      b1b8cbde
  24. 08 2月, 2016 1 次提交
    • H
      Update GPORCA to version 1.621. · 8e7a7a1f
      Heikki Linnakangas 提交于
      This version changes the spelling of the error message of violating a NOT
      NULL-constraint, to match the message of the same error in the executor, so
      those differences in regression test expected output can now be reverted.
      8e7a7a1f
  25. 03 2月, 2016 1 次提交
  26. 02 2月, 2016 2 次提交