1. 14 5月, 2019 4 次提交
    • C
      Source for the segment recovery flowchart (#7653) · 6840f80c
      Chuck Litzell 提交于
      * Source for the segment recovery flowchart
      
      * Rename gprecovery-flow-chart.graffle to recovermatrix.graffle to match png filename
      6840f80c
    • L
      docs - add info about pxf jdbc statement properties (#7650) · fbfb5bbd
      Lisa Owen 提交于
      * docs - add info about pxf jdbc statement properties
      
      * misc edits requested by david
      fbfb5bbd
    • D
      docs: Remove mentions of deprecated utils · 991e17a8
      Daniel Gustafsson 提交于
      The utilities reference page contained (unlinked) mentions of long
      since deprecated utilities, and since they aren't shipping it's time
      to remove them:
      
      	gpsizecalc - removed in June 2010
      	gpskew - removed in October 2009
      	gprebuildsystem - removed in January 2010
      	gpchecknet - removed in April 2010
      	gpcheckos - removed in July 2016
      
      Reviewed-by: Lisa Owen
      Reviewed-by: David Yozie
      991e17a8
    • D
      Remove documentation for gpdetective · 9cdfc28f
      Daniel Gustafsson 提交于
      gpdetective was removed in 4.3.5, so it seems about time to also
      remove the documentation for it (which was unreachable due to the
      app being marked deprecated).
      
      Reviewed-by: Lisa Owen
      Reviewed-by: David Yozie
      9cdfc28f
  2. 13 5月, 2019 2 次提交
  3. 11 5月, 2019 3 次提交
    • V
    • L
      docs - add pageinspect module landing page (#7407) · 9fa00ba7
      Lisa Owen 提交于
      * docs - add pageinspect module landing page
      
      * remove peer scope
      
      * cannot inspect ao or external relations
      9fa00ba7
    • J
      Reinstate strictness of int4_avg_combine · 3f111c5c
      Jesse Zhang 提交于
      The "combine" function for the int4 sum/avg aggregate functions is
      backported to Greenplum 6.0 in commit 313cef6e (from
      postgres/postgres@11c8669c0cc) but we made the inevitable omission of
      setting the "strictness" of int4_avg_combine to false. This by itself is
      harmless as the actual function body *does* guard against NULL input,
      but it also prohibits a whole host of optimizations when the executor
      and planner can detect NULL input early on and short-circuit the
      execution. Oops.
      
      This patch flips the `proisstrict` flag back to true for
      int4_avg_combine.
      
      Backpatch to 6X_STABLE.
      
      (cherry picked from commit c334bedc)
      3f111c5c
  4. 10 5月, 2019 5 次提交
    • P
      Hold AccessShareLock in pg_get_expr() · 755a2e80
      Pengzhou Tang 提交于
      In pg_get_expr(), after getting the relname, if the table that the relid tells
      is dropped, an error will raise later when opening the relation to get column
      names.
      
      pg_get_expr() is used by GPDB add-on view 'pg_partitions' which is widely used
      by regression tests for partition tables. Lots of parallel test cases issue view
      pg_partitions and drop partition tables concurrently, so those cases are very
      flaky. Serialize test cases will cost more testing time and be fragile, so GPDB
      holds a AccessShareLock here to make tests stable.
      755a2e80
    • L
      fix link xml->html (#7656) · 87a4f0b7
      Lisa Owen 提交于
      87a4f0b7
    • S
      Introduce GUC optimizer_enable_dml · 057467b6
      Sambitesh Dash 提交于
      optimizer_enable_dml is set to true by default. When set to false, ORCA will
      fall back to planner for all DML queries.
      057467b6
    • L
      docs - add to pxf upgrade procedure (v5.0.1 to v5.3.2) (#7628) · e9c02c87
      Lisa Owen 提交于
      * docs - add to pxf upgrade procedure (v5.0.1 to v5.3.2)
      
      * remove extraneous to
      e9c02c87
    • D
      Properly capitalize productname · 89f4f1dc
      Daniel Gustafsson 提交于
      When referring to the product name and not a database instance running
      Greenplum, the capitalization should be "Greenplum Database".
      89f4f1dc
  5. 09 5月, 2019 13 次提交
  6. 08 5月, 2019 6 次提交
  7. 07 5月, 2019 4 次提交
    • L
      docs - address lock exhaustion shared mem error msg (#7594) · 92e9a194
      Lisa Owen 提交于
      * docs - address lock exhaustion shared mem error msg o
      
      * capitalize Out in title
      92e9a194
    • P
      Recursively create tablespace directories if they do not exist but we need... · 1ed2d8cf
      Paul Guo 提交于
      Recursively create tablespace directories if they do not exist but we need them when re-redoing some tablespace related xlogs (e.g. database create with a tablespace) on mirror.
      
      It is observed many time that gp_replica_check test fails because some mirror nodes
      can not be brought up before testing recently. The related log looks like this:
      
      2019-04-17 14:52:14.951 CST [23030] FATAL:  could not create directory "pg_tblspc/65546/PG_12_201904072/65547": No such file or directory
      2019-04-17 14:52:14.951 CST [23030] CONTEXT:  WAL redo at 0/3011650 for Database/CREATE: copy dir 1663/1 to 65546/65547
      
      That is because some mirror nodes can not be recovered after previous testing,
      not due to gp_replica_check itself. The root cause is that tablespace recovery
      related. Pengzhou Tang and Hao Wu digged that intially and kindly found a mini
      repro as below.
      
      run on shell:
        rm -rf /tmp/some_isolation2_pg_basebackup_tablespace
        mkdir -p /tmp/some_isolation2_pg_basebackup_tablespace
      
      copy and run the below sql on psql client:
        drop tablespace if exists some_isolation2_pg_basebackup_tablespace;
        create tablespace some_isolation2_pg_basebackup_tablespace location '/tmp/some_isolation2_pg_basebackup_tablespace';
        \!gpstop -ra -M fast;
        drop database if exists some_database_with_tablespace;
        create database some_database_with_tablespace tablespace some_isolation2_pg_basebackup_tablespace;
        drop database some_database_with_tablespace;
        drop tablespace some_isolation2_pg_basebackup_tablespace;
        \!gpstop -ra -M immediate;
      
      The root cause is on mirror after drop database & drop tablespace, 'immediate'
      stop causes the pg_control file not up-to-date with latest redo start lsn (this
      is allowed), when the node restarts, it re-redoes 'create database
      some_database_with_tablespace tablespace
      some_isolation2_pg_basebackup_tablespace' but the tablespace directories have
      been deleted in previous redoing.
      
      The 'could not create directory' error could happen on re-redoing create table
      in a tablespace also. We've seen this case on the ci environment, but that is
      because missing of a get_parent_directory() call in the 'create two parents'
      code block in TablespaceCreateDbspace(). Changing it to a simpler call
      pg_mkdir_p() instead.
      
      Also it seems that the src_path could be missing also in dbase_redo() for the
      example below. For example re-redoing at the alter step since tbs1 directory is
      deleted in later 'drop tablespace tbs1'.
        alter database db1 set tablespace tbs2;
        drop tablespace tbs1;
      
      There is discussion on upstream about this,
        https://www.postgresql.org/message-id/flat/CAEET0ZGx9AvioViLf7nbR_8tH9-%3D27DN5xWJ2P9-ROH16e4JUA%40mail.gmail.com
      
      In this patch I recreate those directories to avoid this error. Other solutions
      include ignoring the directory-not-existing error or forcing a flush when
      redoing those kind of checkpoint xlogs which are added normally in drop
      database, etc.
      
      Let's revert or update the code change after the solution is finalized on
      upstream.
      1ed2d8cf
    • J
      Remove gpseginstall · 9a181d4b
      Jamie McAtamney 提交于
      Now that the enterprise version of GPDB is only provided via RPM, including
      gpseginstall in the distribution would cause conflicts if users try to install
      GPDB with RPMs and with gpseginstall on the same cluster.  While it could be
      preserved for use by the OSS community, there are several standard tools for
      copying GPDB files to segment hosts in a cluster, and recommendations for using
      one or more of those tools will be included in the GPDB documentation.
      
      In addition to removing gpseginstall itself, this commit removes references to
      it in other utilities' documentation and removes code in gppylib that was only
      called by gpseginstall.
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      Co-authored-by: NKalen Krempely <kkrempely@pivotal.io>
      (cherry picked from commit 64014685)
      9a181d4b
    • B
      Bump ORCA to v3.39.0 · 4c2b5b97
      Bhuvnesh Chaudhary 提交于
      4c2b5b97
  8. 05 5月, 2019 1 次提交
  9. 04 5月, 2019 1 次提交
  10. 03 5月, 2019 1 次提交