1. 02 8月, 2019 8 次提交
    • M
      docs - GDD SELECT...FOR locking (#8271) · 4f4c9d87
      Mel Kiyama 提交于
      * docs - GDD SELECT...FOR locking
      
      Add information about GDD managing SELECT...FOR <locking strength> queries
      
      Currently this feature is in MASTER only.
      
      * docs - updates from review comments
      
      * docs - fix typo
      4f4c9d87
    • D
      Print tablespace_oid_to_delete_on_(abort|commit) in pg_xlogdump (#8239) · 0aefb4f8
      David Kimura 提交于
      Adds tablespace OID to pg_xlogdump output for xl_xact_commit and xl_xact_abort records for debugging purposes. The OID information is actually redundant and can be backtraced through the commit record, however it could still be useful in case the first message is not available.
      Co-authored-by: NIvan Leskin <leskin.in@arenadata.io>
      0aefb4f8
    • A
      Update gp_gin_index answer file · fa464f7f
      Abhijit Subramanya 提交于
      fa464f7f
    • B
      Bump ORCA to v3.62.0 · b5de7f88
      Bhuvnesh Chaudhary 提交于
      b5de7f88
    • B
      Support GIN Indexes with ORCA. · eae823f4
      Bhuvnesh Chaudhary 提交于
      This commit adds the GPDB side changes required to support GIN Indexes with
      ORCA.  It also adds a new test file gp_gin_indexes to test plans produced for
      ORCA/planner.
      
      GIN indexes are not supported with index expression or predicate constraints.
      ORCA does not support it currently for other types of indexes too.
      eae823f4
    • I
      Unify backend/access/gin unittest infrastructure with other unit tests (#8275) · fc88b4ee
      Ivan Leskin 提交于
      There is a pipeline for unit tests in GPDB used in most cases.
      
      However, unit tests of src/backend/access/gin introduced by 99360f54
      used a custom implementation of unit test build script. This led to
      errors e.g. when a compiler different than GCC was used to build GPDB.
      
      Rewrite Makefile in order to unify test infrastructure with common
      pattern used in the backend while retaining test isolation from the
      backend objects.
      
      See also similar Makefile: src/backend/catalog/test/Makefile
      at 122c79f2
      
      Note the Makefile in src/backend/access/gin/test is different from
      currently most used version of a backend unit test Makefile. These
      differences and motivation for them is described in the README.
      
      Run pgindent on ginpostlist_fakes.c
      Reviewed-by: NAdam Berlin <aberlin@pivotal.io>
      Reviewed-by: NDaniel Gustafsson <dgustafsson@pivotal.io>
      Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
      Co-authored-by: NIvan Leskin <leskin.in@arenadata.io>
      fc88b4ee
    • I
      pg_upgrade: check no dependencies on partition array types exist (#8274) · 219f3a50
      Ivan Leskin 提交于
      The following SQL snippet demonstrates dependencies on array types derived from partitions of partitioned tables:
      
      ```
      CREATE TABLE table_part(a INT, b INT) PARTITION BY RANGE(b) (PARTITION part1 START(0) END(42));
      CREATE TABLE replacement(LIKE table_part);
      ALTER TABLE table_part EXCHANGE PARTITION part1 WITH TABLE replacement;
      CREATE TABLE dependant(d table_part_1_prt_part1[]);
      ```
      
      Such dependencies cannot be carried over to the upgraded cluster, and pg_upgrade should fail when they are present. The user should take extra steps to resolve the situation.
      
      When check fails, the output is similar to the following:
      
      ```
      Checking array types derived from partitions                fatal
      
      Array types derived from partitions of a partitioned table must not have dependants.
      OIDs of such types found and their original partitions:
      16393 public.table_part_1_prt_part1
      16471 public.table_part2_1_prt_part1
      Failure, exiting
      ```
      Reviewed-by: NSoumyadeep Chakraborty <sochakraborty@pivotal.io>
      Co-authored-by: NIvan Leskin <leskin.in@arenadata.io>
      219f3a50
    • D
      Fix aocs table block version mismatch (#8202) · 41fd823a
      David Kimura 提交于
      ALTER TABLE DROP COLUMN followed by reorganize leads to loss of column
      encoding settings of the dropped column. When the column's compresstype
      encoding is incorrect, we can encounter block version mismatch error
      later during block info validation check of the dropped column.
      
      One idea was to skip dropped columns when constructing AOCSScanDesc.
      However, dropping all columns is a special case that is not easily handled
      because it is not equivalent to deleted rows. Instead, the fix is to preserve
      column encoding settings even for dropped columns.
      Co-authored-by: NSoumyadeep Chakraborty <sochakraborty@pivotal.io>
      Co-authored-by: NIvan Leskin <leskin.in@arenadata.io>
      41fd823a
  2. 01 8月, 2019 8 次提交
  3. 31 7月, 2019 18 次提交
  4. 30 7月, 2019 5 次提交
  5. 29 7月, 2019 1 次提交