1. 06 4月, 2017 3 次提交
    • M
      GPDB DOCS - add/update warnings (#2136) · f026ac0f
      mkiyama 提交于
      * GPDB DOCS - add/update warnings
      
      [ci skip]
      
      * GPDB DOCS - add/update warnings - conditionalized Pivotal information.
      
      [ci skip]
      f026ac0f
    • C
      Fix restore distribution verification behave step to account for relfilenode counter change. · 7b148864
      Christopher Hajas 提交于
      The behave step assumed OID and relfilenode are equal. This was changed
      in commit 1fd11387.
      7b148864
    • D
      Revert "Use backend quoting functions instead of libpq" · 59a46fac
      Daniel Gustafsson 提交于
      Revert the patch since it broke tests for gprestore and gptransfer in
      the main pipeline. While the test quoted in the original Jira passes
      there seems to be more to it than meets the Jira.. Revert for now.
      Reverts:
      
        commit 1bb0b765
        Author: Daniel Gustafsson <dgustafsson@pivotal.io>
        Date:   Wed Apr 5 13:07:10 2017 +0200
      
          Use backend quoting functions instead of libpq
      
          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:
      59a46fac
  2. 05 4月, 2017 28 次提交
  3. 04 4月, 2017 9 次提交
    • D
      Fix various typos in comments and docs · 1878fa73
      Daniel Gustafsson 提交于
      [ci skip]
      1878fa73
    • A
      Avoid could not open file pg_subtrans/xxx situation during recovery. · 6e715b6b
      Ashwin Agrawal 提交于
      Initialize TransactionXmin to avoid situations where scanning pg_authid or other
      tables mostly in BuildFlatFiles() via SnapshotNow may try to chase down
      pg_subtrans for older "sub-committed" transaction. File corresponding to which
      may not and is not supposed to exist. Setting TransactionXmin will avoid calling
      SubTransGetParent() in TransactionIdDidCommit() for older XIDs. Also, along the
      way initialize RecentGlobalXmin as Heap access method needs it set.
      
      Repro for record of one such case:
      ```
      CREATE ROLE foo;
      
      BEGIN;
      SAVEPOINT sp;
      DROP ROLE foo;
      RELEASE SAVEPOINT sp; -- this is key which marks in clog as sub-committed.
      
      kill or gpstop -air
      < N transactions to atleast cross pg_subtrans single file limit roughly
      CLOG_XACTS_PER_BYTE * BLCKSZ* SLRU_PAGES_PER_SEGMENT >
      
      restart -- errors recovery with missing pg_subtrans
      ```
      6e715b6b
    • D
      Fix gpfdist Makefile rules · f785aed1
      Daniel Gustafsson 提交于
      The extension for executable binaries is defined in X, replace the
      old (and now defunct) references to EXE_EXT. Also remove a commented
      out dead gpfdist rule in gpMgmt from before the move to core.
      f785aed1
    • D
      Fix typos in Python code · c3cbf89d
      Daniel Gustafsson 提交于
      [ci skip]
      c3cbf89d
    • D
      Revert "Remap transient typmods on receivers instead of on senders." · b1140e54
      Dhanashree Kashid and Jesse Zhang 提交于
      This reverts commit ab4398dd.
      [#142986717]
      b1140e54
    • D
      Explicitly hash-distribute in CTAS [#142986717] · 828b99c4
      Dhanashree Kashid and Jesse Zhang 提交于
      Similar to ea818f0e, we remove the
      sensitivity to segment count in test `dml_oids_delete`. Without this,
      this test was passing for the wrong reason:
      
      0. The table `dml_heap_r` was set up with 3 tuples, whose values in the
      distribution column `a` are 1, 2, NULL respectively. On a 2-segment
      system, the 1-tuple and 2-tuple are on distinct segments, and because of
      a quirk of our local OID counter synchronization, they will get the same
      oids.
      
      0. The table `tempoid` will be distributed randomly under ORCA, with
      tuples copied from `dml_heap_r`
      
      0. The intent of the final assertion is checking that the OIDs are not
      changed by the DELETE. Also hidden in the assumption is that the tuples
      stay on the same segment as the source table.
      
      0. However, the compounding effect of that "same oid" with a randomly
      distributed `tempoid` will lead to a passing test when we have two
      segments!
      
      This commit fixes that. So this test will pass for the right reason, and
      also on any segment count.
      828b99c4
    • T
      Upgrades to behave-1.2.4 · 7fdf6ef0
      Todd Sedano 提交于
      7fdf6ef0
    • T
      Fixes imports for behave 1.2.4 · c470a491
      Todd Sedano 提交于
      Signed-off-by: NChris Hajas <chajas@pivotal.io>
      c470a491
    • M
      GPDB DOCS Port 4.3.x updates to 5.0 (#2133) · 78a14481
      mkiyama 提交于
      [ci skip]
      78a14481