1. 13 7月, 2018 10 次提交
    • D
      Docs: Edit pxf filter pushdown docs (#5219) · 1235760a
      David Yozie 提交于
      * fix problematic xrefs
      
      * Consistency edits for list items
      
      * edit, relocate filter pushdown section
      
      * minor edits to guc description
      
      * remove note about non-support in Hive doc
      
      * Edits from Lisa's review
      
      * Adding note about experimental status of HBase connector pushdown
      
      * Adding note about experimental status of Hive connector pushdown
      
      * Revert "Adding note about experimental status of Hive connector pushdown"
      
      This reverts commit 43dfe51526e19983835f7cbd25d540d3c0dec4ba.
      
      * Revert "Adding note about experimental status of HBase connector pushdown"
      
      This reverts commit 3b143de058c7403c2bc141c11c61bf227c2abf3a.
      
      * restoring HBase, Hive pushdown support
      
      * slight wording change
      
      * adding xref
      1235760a
    • A
      Revert "Use -j4 for make unitest-check." · 301f3512
      Ashwin Agrawal 提交于
      This reverts commit 5ca65bed. Seems we are not
      ready for parallel compilation of unittests yet. CI failed with weird looking
      errors.
      301f3512
    • A
      Use -j4 for make unitest-check. · 5ca65bed
      Ashwin Agrawal 提交于
      Lets run unit tests faster not sure why we didn't do it till date.
      5ca65bed
    • A
      Fix warnings flagged by gcc. · ea59fd52
      Ashwin Agrawal 提交于
      ea59fd52
    • A
      Fix various compiler warnings (flagged by clang). · 8e6f36ba
      Ashwin Agrawal 提交于
      These are mostly of type unused variable and incorrect pointer assignments.
      8e6f36ba
    • J
      Increase PR Pipeline ICW timeout values · 12b8fe81
      Jimmy Yih 提交于
      The PR Pipeline ICW jobs run for quite a long time most likely due to
      some weird container placement strategy (maybe placing them all on the
      same worker instead of distributing the workload).  Although it would
      be nice to catch small or medium performance regressions in PR
      Pipeline, that is not doable when using containers as the run time
      variance can be very wide.  So let's bump these values up to just
      prevent PR Pipeline hangs or serious performance regressions.
      
      [ci skip]
      12b8fe81
    • A
      Initialize sequence page under buffer content lock · d331cc78
      Asim R P 提交于
      Shared buffer access rules mandate that a pin as well as content lock
      in exclusive mode is needed to update a shared buffer.
      d331cc78
    • T
      Fix race condition in DELETE RETURNING. · 3637c5d4
      Tom Lane 提交于
      When RETURNING is specified, ExecDelete would return a virtual-tuple slot
      that could contain pointers into an already-unpinned disk buffer.  Another
      process could change the buffer contents before we get around to using the
      data, resulting in garbage results or even a crash.  This seems of fairly
      low probability, which may explain why there are no known field reports of
      the problem, but it's definitely possible.  Fix by forcing the result slot
      to be "materialized" before we release pin on the disk buffer.
      
      Back-patch to 9.0; in earlier branches there is no bug because
      ExecProcessReturning sent the tuple to the destination immediately.  Also,
      this is already fixed in HEAD as part of the writable-foreign-tables patch
      (where the fix is necessary for DELETE RETURNING to work at all with
      postgres_fdw).
      3637c5d4
    • A
      Shared buffer should not be accessed after it is unpinned · 942c67e3
      Asim R P 提交于
      We seemed to be doing that in this case.  This was caught by enabling
      memory_protect_buffer_pool GUC.
      942c67e3
    • E
      Update gpsd and minirepro to capture HLL counter · 4cdfd41a
      Ekta Khanna 提交于
      Prior to this commit, the minirepro and gpsd util, captured the hll
      counter from the `pg_statistic` table as `int[]` instead of a `bytea[]`,
      which caused errors while trying to load it. This commit fixes this
      issue.
      4cdfd41a
  2. 12 7月, 2018 11 次提交
  3. 11 7月, 2018 6 次提交
    • A
      Improve handling of rd_cdbpolicy. · 0bfc7251
      Ashwin Agrawal 提交于
      Pointers from Relation object needs to be handled with special care. As having
      refcount on the object doesn't mean the object is not modified. Incase of cache
      invalidation message handling Relation object gets *rebuild*. As part of rebuild
      only guarantee maintained is that Relation object address will not change. But
      the memory addresses inside the Relation object gets freed and freshly allocated
      and populated with latest data from catalog.
      
      For example below code sequence is dangerous
      
          rel->rd_cdbpolicy = original_policy;
          GpPolicyReplace(RelationGetRelid(rel), original_policy);
      
      If relcache invalidation message is served after assigning value to
      rd_cdbpolicy, the rebuild will free the memory for rd_cdbpolicy (which means
      original_policy) and replaced with current contents of
      gp_distribution_policy. So, when GpPolicyReplace() called with original_policy
      is going to access freed memory. Plus, rd_cdbpolicy will have stale value in
      cache and not intended refreshed value. This issue was hit in CI few times and
      reproduces with higher frequency with `-DRELCACHE_FORCE_RELEASE`.
      
      Hence this patch fixes all uses to rd_cdbpolicy to make use of rd_cdbpolicy
      pointer directly from Relation object and also to update the catalog first
      before assigning the value to rd_cdbpolicy.
      0bfc7251
    • P
      Fix duplicate distributed keys for CTAS · 7680b762
      Pengzhou Tang 提交于
      To keep it consistent with the "Create table" syntax, CTAS should also
      disallow duplicate distributed keys, otherwise backup and restore will
      mess up.
      7680b762
    • D
    • A
      Fix alter table CLI help documentation · 30617fe0
      Asim R P 提交于
      In ALTER TABLE SET DISTRIBUTED BY, the "WITH(reorganize=...)" option
      must be specified before the "DISTRIBUTED ..." clause.
      30617fe0
    • T
      Change behave to use parse 1.8.2 · 8ac4bc72
      Todd Sedano 提交于
      Parse 1.8.2 is consistent with the other python libraries
      defined in the python-dependencies.txt file
      Co-authored-by: NTodd Sedano <tsedano@pivotal.io>
      Co-authored-by: NChris Hajas <chajas@pivotal.io>
      8ac4bc72
    • M
      docs - PL/Container - added note - domain object not supported. (#5257) · 374ae43f
      Mel Kiyama 提交于
      * docs - PL/Container - added note - domain object not supported.
      
      * docs - PL/Container - updated note for non-support of domain object
      374ae43f
  4. 10 7月, 2018 12 次提交
  5. 09 7月, 2018 1 次提交