1. 24 3月, 2017 3 次提交
  2. 23 3月, 2017 1 次提交
  3. 22 3月, 2017 1 次提交
  4. 21 3月, 2017 2 次提交
  5. 20 3月, 2017 1 次提交
  6. 17 3月, 2017 4 次提交
  7. 11 3月, 2017 1 次提交
    • A
      Add new fault injector to make the transaction management test more stable. · 5b6fcda5
      Abhijit Subramanya 提交于
      The fault `twophase_transaction_commit_prepared` would cause the segment to
      PANIC while writing a `COMMIT PREPARED` record on the segment. The master would
      then retry the `COMMIT PREPARED` while the postmaster was still resetting on the
      segment causing the master itself to `PANIC`. This patch introduces a new fault
      injector `finish_prepared_before_commit`  which will not cause a `PANIC`, but
      just error out since the intent of the test is to ensure that the retry works
      correctly.
      5b6fcda5
  8. 09 3月, 2017 2 次提交
    • D
      Fix typos in comments · 7f753a79
      Daniel Gustafsson 提交于
      A collection typo fixes that were lying around.
      
      [ci skip]
      7f753a79
    • S
      Skip pg_index.indcheckxmin column in gpcheckcat. · 79caf1c0
      Shoaib Lari 提交于
      The gpcheckcat 'inconsistent' check should skip the pg_index.indcheckxmin column
      for now as due to the HOT feature, the value of this column can be different
      between the master and the segments.
      
      A more long term fix will resolve the underlying issue that makes the
      indcheckxmin column value to be different between the master and the segments.
      79caf1c0
  9. 08 3月, 2017 1 次提交
  10. 07 3月, 2017 2 次提交
    • Y
      Make gpinitsystem similar to gpstart and gpstop prompting (#1942) · 0701a77b
      yanchaozhong 提交于
      `gpinitsystem`, `gpstart` and `gpstop` had different prompting before:
      
      $ gpinitsystem -c gpinitsystem_config 
      ...
      Continue with Greenplum creation **Yy/Nn>**
      n
      ...
      
      $ gpstart
      ...
      
      Continue with Greenplum instance startup **Yy|Nn (default=N):**
      **>** n
      ...
      
      $ gpstop
      ...
      
      Continue with Greenplum instance shutdown **Yy|Nn (default=N):**
      **>** n
      ...
      
      This commit makes them consistent:
      
      $ gpinitsystem -c gpinitsystem_config 
      ...
      
      Continue with Greenplum creation Yy|Nn (default=N):
      > n
      0701a77b
    • A
      pg_regress test to validate fsync requests are not lost. · 85b7754d
      Ashwin Agrawal and Xin Zhang 提交于
      The commit includes a UDF to walk dirty shared buffers and a new fault
      `fault_counter` to count the number of files fsync'ed by checkpointer process.
      
      Also another new fault `bg_buffer_sync_default_logic` to flush all buffers for
      BgBufferSync() for the background writer process.
      85b7754d
  11. 04 3月, 2017 1 次提交
    • J
      Changed backup file naming conventions to incorporate content id. (#1861) · ca124632
      Jamie McAtamney 提交于
      Previously, backup files were keyed only to the dbid of the segment from
      which they were backed up, which caused problems when trying to restore
      files backed up on a mirror segment, restore files to a new cluster with
      a different dbid mapping, and so forth.
      
      This commit fixes the above issues by changing the backup file naming
      convention to incorporate the content id of the backed-up segment and
      enables restoring files based on the content id.  Also, gpdbrestore
      seamlessly handles mixing the old and new filename formats, so users can
      still restore a backup made with a GPDB 4.3 version of gpcrondump that
      used the old format.
      ca124632
  12. 03 3月, 2017 1 次提交
    • W
      Fix gpload reuse table issues (#1693) · 051f456e
      Wu Ning 提交于
      * Fix gpload reuse table issues
      
      This commit fixes issues below:
      
      1, reports unexpected error when reuse_table is enabled
      2, doesn't recognize GPDB delimiter syntax like E'\t'
      3, unnecessary case sensible of column names
      Signed-off-by: NAdam Lee <ali@pivotal.io>
      Signed-off-by: NNing Wu <nwu@pivotal.io>
      
      * delimiter '\t' handled
      
      * Fixed report warnings wrongly when reusable table exists
      
      * remove the tailing space and simplify sql
      051f456e
  13. 26 2月, 2017 1 次提交
    • D
      Remove gp_external_grant_privileges · 1e20c783
      Daniel Gustafsson 提交于
      The gp_external_grant_privileges GUC was needed before 4.0 to let
      non superusers create external tables for gphdfs and http protocols.
      This GUC was however deprecated during the 4.3 cycle so remove all
      traces of it. The utility of the GUC was replaced in 4.0 when rights
      management for external tables was implemented with the normal GRANT
      REVOKE framework so this has been dead code for quite some time.
      
      Remove GUC, code which handles it, all references to it from the
      documentation and a release notes entry.
      1e20c783
  14. 25 2月, 2017 3 次提交
  15. 23 2月, 2017 2 次提交
  16. 05 2月, 2017 1 次提交
    • J
      Fix gppersistentrebuild and its behave tests · 42bd56dc
      Jimmy Yih 提交于
      The gppersistentrebuild tool was trying to use string_agg without
      casting the oid to text. This used to work before but not anymore. The
      behave tests only have two scenarios but the second scenario would
      always fail because it would run when a primary/mirror segment pair
      were still in resync mode.
      42bd56dc
  17. 23 2月, 2017 5 次提交
  18. 22 2月, 2017 1 次提交
  19. 21 2月, 2017 2 次提交
    • X
      Catalog change for resource group · 4ca52894
      xiong-gang 提交于
        - Add 2 catalog tables for resource group
        - add one column in pg_authid to record the resource group of a role
        - bump catalog version
        - hard code default resource group of roles temporarily
      Signed-off-by: NKenan Yao <kyao@pivotal.io>
      4ca52894
    • H
      Support ON MASTER clause for external table · ac2fd680
      Haozhou Wang 提交于
      We will first support external table query execution on master segment
      before we fully support task dispatch on master segment.
      
      1. Modify grammar to enable ON clause for external table.
      2. Modify ExtTableEntry catalog to record on clause.
      3. Update legacy planner to support on clause for external table.
      4. Update pg_dump.
      5. Update regress tests.
      Signed-off-by: NHaozhou Wang <hawang@pivotal.io>
      Signed-off-by: NAdam Lee <ali@pivotal.io>
      Signed-off-by: NYuan Zhao <yuzhao@pivotal.io>
      
      * Update catalog version
      
      For "Support ON MASTER clause for external table"
      
      * Add on master regression tests for gpcloud
      ac2fd680
  20. 18 2月, 2017 1 次提交
  21. 16 2月, 2017 1 次提交
  22. 14 2月, 2017 2 次提交
  23. 11 2月, 2017 1 次提交