1. 11 4月, 2019 3 次提交
  2. 10 4月, 2019 1 次提交
  3. 09 4月, 2019 2 次提交
    • D
      Fix typo in gprestore documentation · a1f27819
      Daniel Gustafsson 提交于
      Backported from master commit 2b78a302
      
      Reported-by: Cyrille Lintz
      a1f27819
    • D
      Disallow joins between nested RECURSIVE clauses · ba70dbbd
      Daniel Gustafsson 提交于
      Joining nested REURSIVE clauses is planned as a join between
      two WorkTableScan nodes, which we currently cannot do. Detect
      and disallow for now until we have the required infrastructure
      to handle this class of queries. The below query is an example
      of this:
      
        WITH RECURSIVE r1 AS (
            SELECT 1 AS a
            UNION ALL
             (
                WITH RECURSIVE r2 AS (
                    SELECT 2 as b
                    UNION ALL
                    SELECT b FROM r1, r2
                )
                SELECT b FROM r2
            )
        )
        SELECT * FROM r1 LIMIT 1;
      
      In upstream PostgreSQL, the resulting plan exhibits the same
      behavior as in GPDB, but there is no restiction on WorkTableScan
      on the inner side of joins in PostgreSQL:
      
                                 QUERY PLAN
        -------------------------------------------------------------
         Limit
           CTE r1
             ->  Recursive Union
                   ->  Result
                   ->  CTE Scan on r2 r2_1
                         CTE r2
                           ->  Recursive Union
                                 ->  Result
                                 ->  Nested Loop
                                       ->  WorkTable Scan on r1 r1_1
                                       ->  WorkTable Scan on r2
           ->  CTE Scan on r1
        (12 rows)
      
      Backported from master commit e9c0e77a
      ba70dbbd
  4. 08 4月, 2019 8 次提交
  5. 06 4月, 2019 2 次提交
  6. 05 4月, 2019 10 次提交
    • D
      Fix LOCK_DEBUG in LWLock acquiring · c12b71e2
      Daniel Gustafsson 提交于
      Commit ea9df812 relaxes the requirement
      that all LWLocks are in a single array, which broke the LOCK_DEBUG
      code for trying to acquiring an LWLock. This is a meatball surgery
      attempt at making it at least compile and run, without trying to
      reinvent the old usecase.
      
      Minor tweaking of the code is also done to make LOCK_DEBUG cases be
      identified identically.
      
      Backported from master 3a1ced8f
      Reported-by: Simon Gao in Github issue #7251
      Reviewed-by: Ashwin Agrawal
      c12b71e2
    • L
      Add unzip module to ubuntu docker image · 2549a0fc
      Lav Jain 提交于
      2549a0fc
    • L
      Create a public dockerfile for compiling greenplum on ubuntu (#7330) · 8d557155
      Lav Jain 提交于
      * Create a public dockerfile for compiling gpdb on ubuntu
      * Create directory /usr/local/greenplum-db-devel for installing greenplum
      * Move current ubuntu files to ubuntu16_ppa. Update readme
      8d557155
    • C
      docs - remove ALTER SYSTEM reference page from docs (#7374) · 7ea8f396
      Chuck Litzell 提交于
      * docs - remove ALTER SYSTEM reference
      
      * Restore source for ALTER SYSTEM ref, but leave out of maps.
      
      * Add ALTER SYSTEM to list of unsupported PostgreSQL features
      7ea8f396
    • C
      Docs - removes replication port references (#7368) · 13dcd2bd
      Chuck Litzell 提交于
      * Docs - removes replication port references
      
      Also replaces gpstate -p command output with more recent version
      
      * add missing line break to example
      13dcd2bd
    • D
      Disable sanity assertion for itempointer offsetnumber · e74fc536
      Daniel Gustafsson 提交于
      Commit 99360f54 extended the offset
      numbers in the GIN posting list to 16 bits over upstream who use
      11 bits. This however means that the assertion around ip_posid is
      no longer valid as it's always true, causing a compiler warning:
      
      ginpostinglist.c:89:24: warning: result of comparison of constant
                                       65536 with expression of type
      								 'OffsetNumber' (aka 'unsigned short')
      								 is always true
      [-Wtautological-constant-out-of-range-compare]
      Assert(iptr->ip_posid < (1 << MaxHeapTuplesPerPageBits));
      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../src/include/c.h:784:10: note: expanded from macro 'Assert'
      Trap(!(condition), "FailedAssertion")
      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../src/include/c.h:766:28: note: expanded from macro 'Trap'
      if ((assert_enabled) && (condition))
      ^~~~~~~~~
      1 warning generated.
      
      Fix by commenting out the assertion with preprocessor blocks in an
      attempt to make future merge conflicts easier to resolve.
      
      A previous version of this patch was reviewed by Adam Berlin.
      e74fc536
    • A
      Lower the log level of the fts probe while unpacking response. · 0348582e
      Adam Berlin 提交于
      The level of TERSE or greater was set during development, we can lower
      this to DEBUG now that this feature has stablized.
      0348582e
    • A
      Remove addition of gpfdist_ssl test. · 05107512
      Adam Berlin 提交于
      It fails and appears to not be maintained when:
      
      --enable-gpfdist and --with-openssl are configured.
      05107512
    • D
      gpinitsystem: gpinitsystem_help reflects flag changes · ee7b5905
      David Krieger 提交于
      (cherry picked from commit 813528e7)
      ee7b5905
    • J
      gpinitsystem: Change flags for mirroring and standby datadir · 2710bc21
      Jamie McAtamney 提交于
      Because the gpinitstandby flag for passing in a standby master data directory
      was changed from -F to -S, this commit changes -F to -S in gpinitsystem to
      match.
      
      -S was already in use for specifying that the cluster should have its mirrors
      set up in spread configuration, so that flag is changed to --mirror-mode, which
      accepts the mirror mode ('group' or 'spread') as an argument.
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      Co-authored-by: NMark Sliva <msliva@pivotal.io>
      (cherry picked from commit 6fa3bce8)
      2710bc21
  7. 04 4月, 2019 13 次提交
  8. 03 4月, 2019 1 次提交
    • K
      Utilities Testing: Remove demo_cluster behave tag · 1852a8b4
      Kalen Krempely 提交于
      Make "demo_cluster" the default tag (ie: no tag). That is, when a
      scenario does not specify a behave tag it uses the demo cluster
      environment to run. Use the concourse_cluster tag if a scenario requires
      a remote cluster. Concourse runs the scenarios with no tag that use a
      demo cluster by filtering for --tags=~concourse_cluster.
      Authored-by: NKalen Krempely <kkrempely@pivotal.io>
      (cherry picked from commit 40028cf4)
      1852a8b4