1. 27 1月, 2018 7 次提交
  2. 26 1月, 2018 6 次提交
  3. 25 1月, 2018 8 次提交
    • D
      Don't run regression tests in SQL_ASCII encoding by default · 958355ce
      Daniel Gustafsson 提交于
      This is a partial backport of the below commit from PostgreSQL 9.1,
      the part left out is documentation:
      
        commit 35eb0958
        Author: Peter Eisentraut <peter_e@gmx.net>
        Date:   Thu Jan 13 09:13:12 2011 +0200
      
          Don't run regression tests in SQL_ASCII encoding by default
      
          Instead, run them in the encoding that the locale selects, which is
          more representative of real use.
      
          Also document how locale and encoding for regression test runs can be
          selected.
      958355ce
    • D
      Revert encoding handling in pg_regress to upstream · bc3bb796
      Daniel Gustafsson 提交于
      If we avoid calling pg_regress with an empty --multibyte we
      can skip GPDB specific handling of the encoding parameter in
      pg_regress and instead follow upstream. While the local diffs
      to pg_regress weren't wrong per se, avoiding merge conflicts
      is of more interest.
      
      Also revert the commented out MULTIBYTE in the makefile to
      match the upstream value. A follow-up commit will fix this
      as well.
      bc3bb796
    • D
      Propagate segment errcodes to dispatcher · 58003bc7
      Daniel Gustafsson 提交于
      The errcode thrown in an ereport() on a segment was passed back to
      the dispatcher, but then dropped and replaced with a default errcode
      of ERRCODE_DATA_EXCEPTION. This works for most situations, but when
      trapping errors the exact errcode must be propagated. This extends
      the API to extract the errcode as well. The below case illustrates
      the previous issue:
      
        CREATE TABLE test1(id int primary key);
        CREATE TABLE test2(id int primary key);
        INSERT INTO test1 VALUES(1);
        INSERT INTO test2 VALUES(1);
        CREATE OR REPLACE FUNCTION merge_table() RETURNS void AS $$
        DECLARE
      	v_insert_sql varchar;
        BEGIN
      	v_insert_sql :='INSERT INTO test1 SELECT * FROM test2';
      	EXECUTE v_insert_sql;
      	EXCEPTION WHEN unique_violation THEN
      		RAISE NOTICE 'unique_violation';
      	END;
        $$ LANGUAGE plpgsql volatile;
        SELECT merge_table();
      58003bc7
    • S
      Bump ORCA version to 2.54.0 · 1b09b73f
      Shreedhar Hardikar 提交于
      1b09b73f
    • S
      Do not maintain mdidType separately in CDXLScalarIdent · f4ffb177
      Shreedhar Hardikar 提交于
      This information can be easily derived from CDXLColRef member of
      CDXLScalarIdent. This now mirrors what is done in the ORCA types
      CScalarIdent and CColRef.
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      f4ffb177
    • L
      Use PXF docker image to run PXF smoke (#4416) · 184908ad
      Lav Jain 提交于
      * Use PXF docker image to run PXF smoke
      
      * Remove unused singlecluster resource
      184908ad
    • C
      eb1e2379
    • X
      Fix TESTER env variables · 9021f8db
      Xin Zhang 提交于
      Author: Xin Zhang <xzhang@pivotal.io>
      Author: Asim R P <apraveen@pivotal.io>
      9021f8db
  4. 24 1月, 2018 14 次提交
    • P
      Fix AIX loader packaging problems (#4397) · 09e61a55
      Peifeng Qiu 提交于
      - Add libpython
      - Add libevent
      - Add libgcc_s
      09e61a55
    • J
      Revert "Make gpstart work for walrep mirrors" · abb56350
      Jimmy Yih 提交于
      This reverts commit fe30f20aacd78cfc1b9ba587152b8c73fbb2d045.
      
      We can start mirror with -w flag now.
      
      Author: Ashwin Agrawal <aagrawal@pivotal.io>
      Author: Jimmy Yih <jyih@pivotal.io>
      abb56350
    • J
      Mirror should not send retry request · e095e9d7
      Jimmy Yih 提交于
      Previously, the mirror would send a retry request in the FTS probe
      response. This is unnecessary because the mirror's primary which would
      now be considered the mirror is already assumed down by the FTS. This
      prevents the retry loop from happening and allows the FTS to send
      promotion signal faster.
      
      Author: Ashwin Agrawal <aagrawal@pivotal.io>
      Author: Jimmy Yih <jyih@pivotal.io>
      e095e9d7
    • J
      Add retry and timeout to gpstart for dtx check · 703a4740
      Jimmy Yih 提交于
      The gpstart utility does a begin/commit at the end of gpstart to
      verify the cluster is ready to be handed off to the user.  To prevent
      false errors or indefinite connection hang, we should have retry and
      timeout in the connection string.
      
      Author: Ashwin Agrawal <aagrawal@pivotal.io>
      Author: Jimmy Yih <jyih@pivotal.io>
      703a4740
    • J
      Remove hardcoded ERRCODE values from fe-connect · f9c7df69
      Jimmy Yih 提交于
      These values are duplicated and prone to errors where they are updated
      in errcodes.h but not here. We should just use the ERRCODE values in
      errcodes.h instead.
      
      Author: Ashwin Agrawal <aagrawal@pivotal.io>
      Author: Jimmy Yih <jyih@pivotal.io>
      f9c7df69
    • A
      Handle -w pg_ctl flag for mirror · b824fe8f
      Ashwin Agrawal 提交于
      Previously, we did not use -w pg_ctl flag for mirror which waits until
      segment is able to accept connections. We found that a promotion
      scenario in which we run gpstart after FTS had updated the catalog and
      before the promotion signal was sent would give a deadlock during
      parallel segment start. To fix this, we add a new postmaster flag to
      show walreceiver started at least once and respond to libpq calls
      accordingly with CAC_MIRROR_READY value.
      
      Author: Ashwin Agrawal <aagrawal@pivotal.io>
      Author: Jimmy Yih <jyih@pivotal.io>
      b824fe8f
    • A
      Minor cleanup in eqjoinsel_inner() · ca87b1e4
      Abhijit Subramanya and Dhanashree Kashid 提交于
      Pass tp to get_attstatsslot() instead of vardata->statsTuple to improve
      readability.  This was changed while cherry-picking commit ae06d7b0 from
      upstream.
      ca87b1e4
    • A
      Fix coverity defect CID 182261: Uninitialized variables (UNINIT) · 187ad0a9
      Abhijit Subramanya 提交于
      The variable nvaluesp was being assigned the value of sslot.nvalues
      after sslot was passed into free_attstatsslot. Since nvaluesp was not
      being used in the function, just remove it to fix the issue.
      
      Also get rid of the cdb version of mcv_selectivity() since the extra OUT
      parameter `nvaluesp` is no longer there.
      
      Fix suggested by Daniel Gustafsson
      
      Author: Abhijit Subramanya <asubramanya@pivotal.io>
      Author: Dhanashree Kashid <dkashid@pivotal.io>
      187ad0a9
    • T
      Updates bookbindery directions · c0de6eec
      Todd Sedano 提交于
      - This includes how to install key library and gems on a mac.
      - Improves formatting.
      c0de6eec
    • A
      CI: Print only first 1000 lines of diff output. · 40b3b16c
      Ashwin Agrawal 提交于
      This is basically just work-around for broken functionality of current
      CI. Ideally it should work with arbitary number of lines dumped. But since it
      currently cannot and mostly fails to load if diff output is very long, adding
      limit to number of lines printed. Don't know what the upper limit is but trying
      with 1000. As if its broked beyond 1000 lines then its not helpful anyways
      to look from CI and instead logging in container and checking is better.
      40b3b16c
    • L
      Change PXF port number to 5888 (#4345) · 95a57454
      Lav Jain 提交于
      95a57454
    • J
      configure: run autoreconf to pull in recent changes · 3f72abcd
      Jacob Champion 提交于
      Follow-up to commit 8922315e.
      3f72abcd
    • L
      gpcheckperf: print stderr when failure occurs (#4392) · 5dcc6abf
      Larry Hamel 提交于
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      5dcc6abf
    • T
      Uses latest bookbindery · a0855224
      Todd Sedano 提交于
      - Upgrades to version 10.1.12
      
      Solves https://github.com/greenplum-db/gpdb/issues/4361
      a0855224
  5. 23 1月, 2018 5 次提交
    • D
      Remove out of date comment · 8bf79529
      Daniel Gustafsson 提交于
      Filespaces are no more, remove comment and match schema with
      upstream.
      8bf79529
    • D
      Fix typo · d10dfbf3
      Daniel Gustafsson 提交于
      d10dfbf3
    • L
      Don't generate ssh keys for gpadmin if already present (#4379) · 7ec3cd2e
      Lav Jain 提交于
      * Don't generate ssh keys for gpadmin if already present
      
      * Let rest of the logic flow if the private key is present.
      7ec3cd2e
    • X
      Fix assertion failure · 6b7aa068
      xiong-gang 提交于
      Entry DB process share snapshot with QD process, but it didn't update
      the TransactionXmin. The assert in SubTransGetData() will fail in some
      cases:
         Assert(TransactionIdFollowsOrEquals(xid, TransactionXmin));
      
      1.QD takes a snapshot which contains a in-progress transaction A.
      2.Transaction A commits.
      3.QD creates a gang of entry DB. The entry DB process takes a snapshot
      in InitPostgres and updates TransactionXmin.
      4.The entry DB process scans the tuple inserted by the transaction A,
      and find it's in the snapshot but its xid is larger than TransactionXmin.
      6b7aa068
    • L
      docs - add distribution and skew topic, address random dist skew (#4253) · 85ac629b
      Lisa Owen 提交于
      * docs - add distribution and skew topic, address random dist skew
      
      * clarify single tuple assigned to first segment
      85ac629b