1. 21 6月, 2017 11 次提交
  2. 20 6月, 2017 16 次提交
    • J
      Fix binary swap test when pg_dump is changed · abdfa12d
      Jimmy Yih 提交于
      Currently, our binary swap test will report a diff when pg_dump output
      is changed.  This is unintended.  To prevent this, we resource the
      latest greenplum_path.sh after starting up Greenplum with the old
      greenplum_path.sh.  This allows us to use the latest pg_dumpall
      against a cluster running off of the old binaries.  If the tests or
      SQL in the binary swap test becomes more complex, this workaround may
      need to be replaced.
      abdfa12d
    • A
      Remove tmlock test and add an assert instead. · 944306d7
      Abhijit Subramanya 提交于
      The test used to validate that the tmlock is not held after completing the DTM
      recovery. The root cause for not releasing the lock was that in case of an
      error during recovery `elog_demote(WARNING)` was called which would demote the
      error to a warning. This would cause the abort processing code to not get
      executed and hence the lock would not be released. Adding a simple assert in
      the code once DTM recovery is complete is sufficient to make sure that the lock
      is released.
      944306d7
    • L
      remove some unused documentation files (#2645) · e34e3dd2
      Lisa Owen 提交于
      e34e3dd2
    • J
      Re-run autoconf instead of editing configure · d6ef706d
      Jesse Zhang and Venkatesh Raghavan 提交于
      Fixing a slight inconsistency introduced in 357db2f3.
      d6ef706d
    • V
      Update gporca version to 2.33 which update Join Cardinality Estimation for... · 357db2f3
      Venkatesh Raghavan 提交于
      Update gporca version to 2.33 which update Join Cardinality Estimation for Text/bpchar/varchar/char columns
      357db2f3
    • H
      Reinstate RTEKind enum entries to the original order before 41c3b6 · a38e7b9e
      Haisheng Yuan 提交于
      Commit 41c3b6 changed the numbering of RTEKind (with the intent to
      converge with upstream ordering). RTEKind is included in the
      RangeTblEntry struct, which in turn is included in a parse tree. Parse
      trees are serialized (via `nodeToString`) in the catalog when we store
      view definitions. That means re-ordering an ostensibly internal enum
      will break catalog compatibility. Reverting the re-ordering of
      `RTEKind`.
      a38e7b9e
    • H
      febddac6
    • D
      Comment extending and cleanup · c8894b15
      Daniel Gustafsson 提交于
      c8894b15
    • D
      Fix pg_dump to not emit invalid SQL for an empty operator class. · f8db7bb7
      Daniel Gustafsson 提交于
      This is a backport of the below commit from upstream to handle empty
      operator classes in pg_dump. The bug was first found in Greenplum but
      applied as an upstream-first fix. Cherry-picking was not possible due
      to interim changes not yet in Greenplum.
      
        commit 0461b66e
        Author: Tom Lane <tgl@sss.pgh.pa.us>
        Date:   Fri May 26 12:51:05 2017 -0400
      
          Fix pg_dump to not emit invalid SQL for an empty operator class.
      
          If an operator class has no operators or functions, and doesn't need
          a STORAGE clause, we emitted "CREATE OPERATOR CLASS ... AS ;" which
          is syntactically invalid.  Fix by forcing a STORAGE clause to be
          emitted anyway in this case.
      
          (At some point we might consider changing the grammar to allow CREATE
          OPERATOR CLASS without an opclass_item_list.  But probably we'd want to
          omit the AS in that case, so that wouldn't fix this pg_dump issue anyway.)
      
          It's been like this all along, so back-patch to all supported branches.
      
          Daniel Gustafsson, tweaked by me to avoid a dangling-pointer bug
      
          Discussion: https://postgr.es/m/D9E5FC64-7A37-4F3D-B946-7E4FB468F88A@yesql.se
      f8db7bb7
    • H
      Fix bugs in pg_upgrade_support functions, for GPDB 5 -> GPDB 5 ugprade. · 96e953a7
      Heikki Linnakangas 提交于
      These patches were written by Daniel Gustafsson, I just squashed and
      rebased them.
      
      * Add missing 5.0 object procedure declarations
      
      Commit 7ec83119 implemented support for 5.0 objects in
      binary upgrade, but missed adding the procedure declarations to
      pg_upgrade due to a mismerge.
      
      * Fix opclass Oid preassignment function
      
      The function was erroneously pulling the wrong argument for the
      namespace Oid resulting in failed Oid lookups during synchronization.
      
      * Add support functions for pg_amop tuples
      96e953a7
    • D
      Extend debugging output in missing Oid assignment · 5c97bd91
      Daniel Gustafsson 提交于
      When a pre-assigned Oid can't be found, it's rather helpful to see
      the full searchkey that was used rather than just the objname since
      some keys lack objname (attrdef's for example). Having hacked this
      in multiple times I figured we might as well extend the elog() with
      the relevant information.
      5c97bd91
    • J
      Remove docker credentials from pr_pipeline · 73e8a1f7
      Jim Doty 提交于
      Docker dependancies for this pipeline are now public, thus no authorized access is needed.
      73e8a1f7
    • A
      Readers shouldn't check lock waitMask if writer holds the lock · 61623ce7
      Asim R P 提交于
      Otherwise there is a possibility of distributed deadlock.  One such deadlock is
      caused by ENTRY_DB_SINGLETON reader entering LockAcquire when QD writer of the
      same MPP session already holds the lock.  A backend from another MPP session is
      already waiting on the lock with a lockmode that conflicts with the reader's
      requested lockmode.  This results in waitMask conflict and the reader is
      enqueued in the wait queue.  But the QD writer is never going to release the
      lock because it's waiting for tuples from segments (QE writers/readers).  And
      the QE writers/readers are also waiting for the ENTRY_DB_SINGLETON reader,
      completing the cycle necessary for deadlock.
      
      The fix is to avoid checking waitMask conflicts for a reader if writer of the
      same MPP session already holds the lock.  In such a case the reader is granted
      the lock as long as it does not conflict with existing holders of the lock.
      
      Two isloation2 tests are added.  One simulates the above mentioned deadlock and
      fails if it occurs.  Another ensures that granting locks to readers without
      checking waitMask conflict does not starve existing waiters.
      
      cf. https://groups.google.com/a/greenplum.org/d/msg/gpdb-dev/OS1-ODIK0P4/ZIzayBbMBwAJSigned-off-by: NXin Zhang <xzhang@pivotal.io>
      61623ce7
    • K
      Remove building with codegen for non-oss build · b80fe58b
      Kavinder Dhaliwal 提交于
      b80fe58b
    • M
      GPDB DOCS - postGIS extension (#2618) · f7bfb3aa
      mkiyama 提交于
      * GPDB DOCS - postGIS extension
      
      * GPDB DOCS - PostGIS updates from review comments. Add information about installing PostGIS Raster.
      
      * Edits from Chuck's comments.
      f7bfb3aa
    • M
      1e8df2bb
  3. 19 6月, 2017 10 次提交
  4. 17 6月, 2017 3 次提交