1. 10 4月, 2017 4 次提交
  2. 08 4月, 2017 3 次提交
  3. 07 4月, 2017 14 次提交
    • D
      Use backend quoting functions instead of libpq · 44d06dee
      Daniel Gustafsson 提交于
      libpq is front-end code and shouldn't be used in backend processes.
      The requirement here is to correctly quote the relation name in
      partitioning such that pg_dump/gp_dump can create working DDL for
      the partition hierarchy. For this purpose, quote_literal_internal()
      does the same thing as PQescapeString(). The following relation
      definitions were hitting the previous bug fixed by applying proper
      quoting:
      
      CREATE TABLE part_test (id int, id2 int)
        PARTITION BY LIST (id2) (
          PARTITION "A1" VALUES (1)
        );
      
      CREATE TABLE sales (trans_id int, date date)
        DISTRIBUTED BY (trans_id)
        PARTITION BY RANGE (date) (
          START (date '2008-01-01') INCLUSIVE
          END (date '2009-01-01') EXCLUSIVE
          EVERY (INTERVAL '1 month')
        );
      
      ALTER TABLE sales
        SPLIT PARTITION FOR ('2008-01-01')
        AT ('2008-01-16')
        INTO (PARTITION jan081to15, PARTITION jan0816to31);
      ALTER TABLE sales
        ADD DEFAULT PARTITION other;
      ALTER TABLE sales
        SPLIT DEFAULT PARTITION
        START ('2009-01-01') INCLUSIVE
        END ('2009-02-01') EXCLUSIVE
        INTO (PARTITION jan09, PARTITION other);
      
      This commit was previously pushed and reverted due to test failures
      in the build pipeline. It seems the errors were due to another patch
      that went in at the same time so re-applying this commit.
      44d06dee
    • C
      Make wiki discoverable from README · 729c0454
      C.J. Jameson 提交于
      729c0454
    • D
      Update docs and README with new locations · 48eaee75
      Daniel Gustafsson 提交于
      Set the correct Wiki URL to use for the project, we have moved over
      to using the Github wiki on the main repo and not the wiki on the
      website repo.
      
      Remove references to Pivotal Greenplum documentation in the README
      and stick to greenplum.orc/docs/ there as those are the applicable
      docs.  While there update the README.md to actually match reality,
      the docs are now in the main repo.
      48eaee75
    • K
      Rename commands/resgroup.c to commands/resgroupcmds.c, to distinguish from · bb15e06e
      Kenan Yao 提交于
      utils/resgroup/resgroup.c.
      
      Signed-off-by Richard Guo <riguo@pivotal.io>
      Signed-off-by Gang Xiong <gxiong@pivotal.io>
      bb15e06e
    • K
      Define a GUC 'max_resource_groups' to constraint resource groups created in · 3dc4703f
      Kenan Yao 提交于
      database.
      
      Signed-off-by Richard Guo <riguo@pivotal.io>
      Signed-off-by Gang Xiong <gxiong@pivotal.io>
      3dc4703f
    • K
      Implement concurrency limit of resource group. · d0c6a352
      Kenan Yao 提交于
      Works include:
      * define structures used by resource group in shared memory;
      * insert/remove shared memory object when Create/Drop Resource Group;
      * clean up and restore when Create/Drop Resource Group fails;
      * implement concurrency slot acquire/release functionality;
      * sleep when concurrency slot is not available, and wake up others when
      releasing a concurrency slot if necessary;
      * handle signals in resource group properly;
      
      Signed-off-by Richard Guo <riguo@pivotal.io>
      Signed-off-by Gang Xiong <gxiong@pivotal.io>
      d0c6a352
    • K
      Since we added a GUC 'gp_resource_manager' to switch between resource queue · e630fb1f
      Kenan Yao 提交于
      and resource group when 'resource_scheduler' is on, we need to change the
      condition of the resource queue branches. Also, tidy up error messages related
      to resource manager under these different GUC settings.
      
      Signed-off-by Richard Guo <riguo@pivotal.io>
      Signed-off-by Gang Xiong <gxiong@pivotal.io>
      e630fb1f
    • A
      Suppress the output of the credentials in concourse · 0bb602a7
      Adam Lee 提交于
      To fix the credential leak, make these jobs able to be public after
      their job history are scrubbed.
      
      Also remove unnecessary -B, which benefits from 08ec642dSigned-off-by: NYuan Zhao <yuzhao@pivotal.io>
      0bb602a7
    • D
    • R
      Adding link to Concourse CI · 5058703e
      Roman Shaposhnik 提交于
      5058703e
    • M
      Cleanup for release (#2145) · 536e3fee
      Michael Roth 提交于
      * Clean up from the removal of the client submodule (#2166)
      
      * Clean up from the removal of the client submodule
      
      * Cleanup
      
        - Update makefile to remove references to connectors
        - removed EULA header
      
      added godb_packaging back into repo
      
      deleted clients to match
      
      * reapplied makefile changes after merge
      536e3fee
    • M
      Clean up from the removal of the client submodule (#2166) · a6e7ccc1
      Michael Roth 提交于
      * Clean up from the removal of the client submodule
      
      * Cleanup
      
        - Update makefile to remove references to connectors
        - removed EULA header
      a6e7ccc1
    • T
      Allows filter restore of no column tables · 52e7a723
      Todd Sedano 提交于
      Signed-off-by: NChris Hajas <chajas@pivotal.io>
      52e7a723
    • T
      Makes gpdbrestore fails when gprestore_filter errors · a5dcd55e
      Todd Sedano 提交于
      Before when gprestore_filter failed, the restore command would claim
      success
      
      Sets pipefail for gp_restore filter invocation
      Signed-off-by: NChris Hajas <chajas@pivotal.io>
      a5dcd55e
  4. 06 4月, 2017 8 次提交
  5. 05 4月, 2017 11 次提交
    • D
      Use backend quoting functions instead of libpq · 1bb0b765
      Daniel Gustafsson 提交于
      libpq is front-end code and shouldn't be used in backend processes.
      The requirement here is to correctly quote the relation name in
      partitioning such that pg_dump/gp_dump can create working DDL for
      the partition hierarchy. For this purpose, quote_literal_internal()
      does the same thing as PQescapeString(). The following relation
      definitions were hitting the previous bug fixed by applying proper
      quoting:
      
      CREATE TABLE part_test (id int, id2 int)
        PARTITION BY LIST (id2) (
          PARTITION "A1" VALUES (1)
        );
      
      CREATE TABLE sales (trans_id int, date date)
        DISTRIBUTED BY (trans_id)
        PARTITION BY RANGE (date) (
          START (date '2008-01-01') INCLUSIVE
          END (date '2009-01-01') EXCLUSIVE
          EVERY (INTERVAL '1 month')
        );
      
      ALTER TABLE sales
        SPLIT PARTITION FOR ('2008-01-01')
        AT ('2008-01-16')
        INTO (PARTITION jan081to15, PARTITION jan0816to31);
      ALTER TABLE sales
        ADD DEFAULT PARTITION other;
      ALTER TABLE sales
        SPLIT DEFAULT PARTITION
        START ('2009-01-01') INCLUSIVE
        END ('2009-02-01') EXCLUSIVE
        INTO (PARTITION jan09, PARTITION other);
      1bb0b765
    • D
      Remove leftover perforce integration in gppkg makefiles · 58bdad19
      Daniel Gustafsson 提交于
      The previous cleanup of perforce integration from the makefiles
      inadvertently left one reference to p4client/p4 in the releng
      tools.mk. Remove by partially backport a fix for PostGIS gppkg
      from the 4.3 tree.
      58bdad19
    • D
      Fix database test in gpstart · 762dd106
      Daniel Gustafsson 提交于
      Commit f41552e9 removed the upgrade code from gpstart, but took
      some of the code to test connections with it. Reinstate the url
      test but with self.dburl instead since it's the only remaining
      value to test here.
      762dd106
    • D
      Run plpython_returns with terse verbosity · 290421af
      Daniel Gustafsson 提交于
      Avoid python dependent output by using terse verbosity to make the
      test suite more stable across environments.
      290421af
    • D
      Fix spelling in test suite · 5525a242
      Daniel Gustafsson 提交于
      5525a242
    • D
      Remove reference to non-existing test-suite · be795734
      Daniel Gustafsson 提交于
      Commit eb1740c6 added plpython_types to the REGRESS set as part
      of a backport, the test suite was however not added until 9.2 in
      upstream which is further up than our version. Remove until we have
      caught up with 9.2.
      be795734
    • D
      Add pg_regress init_file to pl/perl · 95129d67
      Daniel Gustafsson 提交于
      Commit 644b2a9d synchronized our pl/perl with upstream and
      tidied up the Makefile. Add the missing init_file which that
      commit references for pg_regress.
      95129d67
    • D
      Make ICW and compile options match in CI · 1e2a9531
      Daniel Gustafsson 提交于
      The ./configure for the ICW run in Concourse needs to have the same
      set of configure options as the compile job since it uses the config
      status to determine which tests to run.
      1e2a9531
    • A
      Fix ON COMMIT DELETE ROWS action for append optimized tables · 5ccdd6a2
      Asim R P 提交于
      The fix is to perform the same steps as a TRUNCATE command - set new relfiles
      and drop existing ones for parent AO table as well as all its auxiliary tables.
      
      This fixes issue #913.  Thank you, Tao-Ma for reporting the issue and proposing
      a fix as PR #960.  This commit implements Tao-Ma's idea but implementation
      differs from the original proposal.
      5ccdd6a2
    • A
      Enhance UAO templating to recognize "aoseg" and "aocsseg" keywords. · 9fc5eee5
      Asim R P 提交于
      This is useful if a test wants to use gp_toolkit.__gp_{aoseg|aocsseg}*
      functions.
      9fc5eee5
    • J
      Check for known errors in Coverity response [#143080725] · 9c73269a
      Jim Doty 提交于
      Signed-off-by: NTom Meyer <tmeyer@pivotal.io>
      9c73269a