1. 07 5月, 2016 1 次提交
  2. 06 5月, 2016 7 次提交
  3. 05 5月, 2016 5 次提交
  4. 04 5月, 2016 4 次提交
  5. 03 5月, 2016 10 次提交
    • A
      s3ext: add gzip decompressing support · afdc27f8
      Adam Lee 提交于
      Now s3ext could recognize then decompress gzip encoded files
      automatically, doesn't require any extra parameter, configuration or
      extended filename.
      afdc27f8
    • H
      Reduce the number of rows used in test, to speed it up. · 92e15420
      Heikki Linnakangas 提交于
      I don't see anything in this test that would require a huge number of rows.
      Half a million should be more than enough to show up in reltuples/relpages.
      92e15420
    • H
      Remove redundant test cases. · 925b6630
      Heikki Linnakangas 提交于
      Almost all tests in bfv_legacy were also in qp_misc_rio. I kept the ones
      in qp_misc_rio, except for a few that have different output with ORCA.
      This way, only bfv_legacy needs to have an alternative expected output file
      for ORCA.
      925b6630
    • H
      Remove duplicated test case. · e0296dec
      Heikki Linnakangas 提交于
      Test 31 was identical to test 25.
      e0296dec
    • H
      Remove redundant test case. · 397bcb46
      Heikki Linnakangas 提交于
      This exact same test case, with some extra EXPLAINs, is in the
      co_nestloop_idxscan regression test.
      397bcb46
    • H
      Fix rescan support for external scan nodes. · 1c9fb699
      Heikki Linnakangas 提交于
      Instead of pushing the responsibility of rescanning down to each different
      kind of external table implement rescanning in fileam.c in a generic
      fashion, by closing and reopening the underlying "url". This gets us rescan
      support for custom and EXECUTE-type external tables, which was missing
      before, and also makes the code simpler.
      
      There are no known cases where the rescan support is currently needed (hence
      no test case included), because the planner puts Materialize nodes on top of
      external scans, but in principle every plan node is supposed to be
      rescannable. I tested this by reverting the previous patch that fixed
      using external scans in a subplan; without that patch, an external table
      in a subplan would get rescanned.
      1c9fb699
    • H
      Fix using external table in a subplan. · 8ae5a93f
      Heikki Linnakangas 提交于
      ParallelizeCorrelatedSubPlanMutator() turns each Scan on a base relation
      into a "Result - Material - Broadcast - Scan" pattern, but it missed
      ExternalScans. External tables are supposed to be treated as distributed,
      i.e. each segment holds different part of the external table, so they
      need to be treated like regular tables.
      8ae5a93f
    • H
      Use "outer slot" to hold result of Agg's child node. · 1be38f8f
      Heikki Linnakangas 提交于
      Long time ago, a hack was put in place in GPDB to use the "scan" slot,
      instead of the "outer" slot which is used in the upstream, to hold the
      result of an Agg or Window plan node's child. It's not clear to me why
      that was done. There was even a comment in fix_upper_expr() saying we
      wouldn't need it if we just fixed the executor to not contain that hack,
      and there was also a TODO comment in CMappingColIdVarPlStmt.cpp about
      that.
      
      Everything seems to work without those hacks, so revert this thing back
      to the way it works in the upstream. This is simpler in its own right,
      and also reduces our diff vs. upstream, which will make merging easier
      in the future.
      1be38f8f
    • D
      Fix incorrect version test for flex and perl in autoconf · 0d8f5e7b
      Daniel Gustafsson 提交于
      This was raised in #691 and was identified as a bug in upstream as well. The
      patch has now been committed to upstream, this is a backport with Greenplum
      versions of Flex/Perl maintained. See below for upstream commit message.
      
          commit 7d7b1292
          Author: Tom Lane <tgl@sss.pgh.pa.us>
          Date:   Mon May 2 11:18:10 2016 -0400
      
          Fix configure's incorrect version tests for flex and perl.
      
          awk's equality-comparison operator is "==" not "=".  We got this right
          in many places, but not in configure's checks for supported version
          numbers of flex and perl.  It hadn't been noticed because unsupported
          versions are so old as to be basically extinct in the wild, and because
          the only consequence is whether or not a WARNING flies by during
          configure.
      
          Daniel Gustafsson noted the problem with respect to the test for flex,
          I found the other by reviewing other awk calls.
      0d8f5e7b
    • K
      Adding missing lc_numeric_check to schedule · e9cebf63
      Karthikeyan Jambu Rajaraman 提交于
      This closes #697
      e9cebf63
  6. 30 4月, 2016 3 次提交
    • K
      Make lc_numeric guc to have GUC_GPDB_ADDOPT. · d5f3d6fa
      Karthikeyan Jambu Rajaraman 提交于
      This closes #682
      
      Without GUC_GPDB_ADOPT, the values for guc is not going to be dispatched
      to the QE processes.
      d5f3d6fa
    • M
      Add new behave test for gpcheckcat persistent · e823bbc3
      Marbin Tan 提交于
      Specically persistent check:
        gp_persistent_relation_node   <=> filesystem
      
      Authors: Marbin Tan & Larry Hamel
      e823bbc3
    • M
      Allow gpcheckcat to determine default batch size on runtime · 15b605c3
      Marbin Tan 提交于
      Batch size of 8 is too low and each cluster may have a different
      system configuration, so we would like to dertermine a default batch
      size before running gpcheckcat.
      
      * Add unittest for batch size
      
      * Truncate batch size to be, at maximum, the amount of primaries.
        Batch size can be no longer be larger than the amount of primaries.
      
      * Refactor: Create method main() for gpcheckcat
        In order improve unit testing, move functionality from '__main__'
        to a method.
      
      Authors: Marbin Tan, Larry Hamel, Nikhil Kak
      15b605c3
  7. 29 4月, 2016 3 次提交
    • K
      Remove warning when compiling aosegfiles.c (#674) · bf4e67ff
      Kuien Liu 提交于
      * Remove warning when compiling aosegfiles.c
      
      Use strlcpy instead of strncat to stop compiler complaining. The
      original case "strncat(segnumArray, tmp, sizeof(tmp))" is simple
      and safe, but the compiler complains much by law [-Wstrncat-size].
      
      Changes to be committed:
      	modified:   src/backend/access/aocs/aocssegfiles.c
      	modified:   src/backend/access/appendonly/aosegfiles.c
      
      * speed up a bit by replacing strncat with strlcpy
      bf4e67ff
    • K
      Remove warning of 'unused variables' when compiling (#675) · ed3e998d
      Kuien Liu 提交于
      Files changed:
          modified:   src/backend/access/external/url.c
          modified:   src/backend/cdb/cdbhash.c
          modified:   src/backend/cdb/cdbmutate.c
          modified:   src/pl/plpgsql/src/pl_funcs.c
      
      Skipped:
          catcoretable.c:104:26:CatCoreType_int4_array
      	because it is an enumerated constant to ensure integrity
      ed3e998d
    • C
      Separated missing issues from extra issues in gpcheckcat summary · 3ab9ecb9
      Chumki Roy 提交于
      In a previous commit, f569c1d1,
      gpcheckcat was modified to display a list of tables with missing
      attributes.  This commit adds the ability to list tables with
      extraneous attributes.
      
      Authors: Chumki Roy and James McAtamney
      3ab9ecb9
  8. 28 4月, 2016 1 次提交
  9. 27 4月, 2016 2 次提交
  10. 26 4月, 2016 2 次提交
  11. 25 4月, 2016 2 次提交
    • H
      Simplify the parsed-representation of ALTER TABLE ADD PARTITION. · 08db9061
      Heikki Linnakangas 提交于
      atpxPartAddList() needs a CreateStmt that represents the parent table,
      but instead of creating it already in the parser, and adding more details
      to it in analyze.c, it's simpler to create it later, in atpxPartAddList(),
      where it's actually needed.
      08db9061
    • H
      Remove unused function. · 42b53fe4
      Heikki Linnakangas 提交于
      The code in InitPostgres() was refactored in PostgreSQL 9.0 so that it
      no longer uses FindMyDatabaseByOid() function. We had backpatched the
      InitPostgres() changes already, so backpatch the removal of
      FindMyDatabaseByOid() as well. Silences a compiler warning.
      42b53fe4