1. 08 2月, 2017 17 次提交
  2. 07 2月, 2017 12 次提交
    • D
      Change json type oid's to match upstream. · f2eabc1f
      Dave Cramer 提交于
      There are a few postgres interface libraries such as psycopg which
      hard code the type OID. If we don't use the same OID's as upstream
      these interfaces will fail to recognize the returned values as json
      
      The original patch could not use the upstream OID's as there was a
      conflict with the OID 114, this has subsequently been removed.
      f2eabc1f
    • D
      Remove leftover outdated documentation · 0f63da90
      Daniel Gustafsson 提交于
      The QuickLZ implementation is only available as a proprietary addon
      to GPDB, remove the leftover documentation from when the code was
      in the GPDB tree.
      0f63da90
    • D
      Fix typos in code comments · 338b578e
      Daniel Gustafsson 提交于
      338b578e
    • H
      Backport the pg_upgrade-related changes from upstream commit 3d21a0f300. · 09bb8723
      Heikki Linnakangas 提交于
      This patch was backported earlier already, but now that we cherry-picked
      the binary-upgrade work from 9.0, we must also pick the related parts
      of 3d21a0f300, that were not applicable earlier.
      
      In the passing, also pick the "if (secure)" checks to EchoQuery and
      UseNewLine from the upstream commit. I don't know why those were not
      picked earlier.
      09bb8723
    • H
      Only allow special protocol messages in QD-QE connections. · 9a557615
      Heikki Linnakangas 提交于
      A client to the QD should never send these special 'M' or 'T' messages,
      but let's not trust the client.
      9a557615
    • D
      Remove unused variable · 3ad48b93
      Daniel Gustafsson 提交于
      3ad48b93
    • D
      Destroy PQExpBuffers before exiting scope · 59c378c3
      Daniel Gustafsson 提交于
      Make sure to call destroyPQExpBuffer() on buffers before leaking
      allocated resources, and document why some buffers must be kept
      until the end of the functions to avoid NULL pointer derefs.
      
      Per gripes in Coverity
      59c378c3
    • D
      Avoid setting inheritance on external tables · fcdd8539
      Daniel Gustafsson 提交于
      When exchanging a partition for an external relation, the inheritance
      information should not be propagated as external tables doesn't support
      attribute inheritance. The oldrel still gets the previously inherited
      attributes as local though.
      fcdd8539
    • D
      Remove inheritance check when dumping external tables · 821b8e10
      Daniel Gustafsson 提交于
      External tables cannot inherit attributes when acting as a partition
      member in a partititioned table. Attribute inheritance was cleaned up
      in upstream commit 02e64181 which was
      part of the 8.3 merge, and as an effect of this external tables were
      dumped as inheriting the partition parent attributes. Fix by always
      setting the attributes as local for external tables and make it even
      more explicit by altering the attribute check in dumpExternal to only
      consider dropped attributes. Apply the fix to both pg_dump and
      cdb_dump_agent albeit a tad differently as pg_dump has abstracted the
      logic for printing column names.
      
      Report and debugging by Chris Hajas, Lawrence Hamel and Karen Huddleston
      821b8e10
    • H
    • A
      Setup limits for gpadmin user in CI. · b00dcc88
      Ashwin Agrawal 提交于
      Centos 6 defaults nprocs as 1024 for users. Many times in CI seen failures as
      cannot fork process, hence better to set reasonable limits (currently equivalent
      to what's recommended by admin guide) while creating gpadmin user.
      b00dcc88
    • D
      Add preset GUCs containing the server version number · a24f10b8
      Daniel Gustafsson 提交于
      There is already a preset GUC for the PostgreSQL version number in
      machine readable form: server_version_num, and human readable form:
      server_version. This adds a Greenplum counterparts for these as
      gp_server_version_num and gp_server_version.
      a24f10b8
  3. 04 2月, 2017 11 次提交