1. 09 3月, 2019 7 次提交
    • M
      docs - CTE available with INSERT, UPDATE, DELETE (#7025) · 45d72f77
      Mel Kiyama 提交于
      * docs - CTE available with INSERT, UPDATE, DELETE
      
      -updated GUC
      -updated Admin Guide topic WITH Queries (Common Table Expressions)
      
      updates to SELECT, INSERT, UPDATE DELETE will be part of postgres 9.2 merge.
      
      * docs - CTE updates from review comments
      
      * docs - CTE more updates from review comments
      
      * docs - CTE - updates from review comments
      
      * Experimental -> Beta wording
      45d72f77
    • D
      Docs postgresql 9.3 merge (#7084) · 63ac5d2a
      David Yozie 提交于
      * vacuumdb - add -t option support for multiple tables
      
      * reindexdb - add -t option support for multiple tables; misc edits
      
      * psql - misc additions, edits, and reformats
      
      * pg_dump - misc edits, additions, formatting
      
      * add * syntax for descendant tables
      
      * pg_dumpall - add -d, --dbname option
      
      * PREPARE - add note about search_path
      
      * TRUNCATE - add * option
      
      * SELECT - add LATERAL, NO KEY UPDATE, KEY SHARE, and related edits to locking clause
      
      * ALTER ROLE. Re-order syntax and descriptions.
      
      * ALTER RULE. Add new command and fix some conref issues
      
      * COPY. Add FREEZE option and edits.
      
      * CREATE INDEX. Minor synopsis update.
      
      * CREATE SCHEMA. Add IF NOT EXISTS forms of command
      
      * CREATE TABLE. Syntax changes. Add SET CONSTRAINTS command.
      
      * bgworker. Add bgworker topic to reference guide
      
      * CREATE TABLE AS. Add WITH/WITHOUT OIDS
      
      * Changes from review
      
      * remove some parens, add trigger note
      
      * remove extra whitespace in CREATE TABLE
      
      * CREATE TABLE AS - correct DISTRIBUTED BY syntax
      
      * Review comments on CREATE TABLE.
      
      * pg_dump - add parallelization note
      
      * CREATE TABLE - fix whitespace again?
      
      * Remove docs for LATERAL
      
      * Add LATERAL to unsupported feature list
      63ac5d2a
    • J
      gpinitstandby: rename -F to -S and document it · ba3eb5b4
      Jacob Champion 提交于
      After the WALrep changes, the previous -F (filespace) option was
      co-opted to be the new standby data directory option. This isn't a
      particularly obvious association.
      
      Change the option to -S. (-D would have been better, but that's already
      in use as a short alias for --debug.) Also document this option in the
      official gpinitstandby help.
      ba3eb5b4
    • J
      gpinitstandby: guide the user on single-host systems · c9c3c351
      Jacob Champion 提交于
      When a standby is initialized on the same host as the original master,
      remind the user that the data directory and port need to be explicitly
      set.
      c9c3c351
    • K
      Add gprecoverseg -s to show progress sequentially · 9e89b5ad
      Kalen Krempely 提交于
      When -s is present, show pg_basebackup progress sequentially instead
      of inplace. Useful when writing to a file, or if a tty does not support
      escape sequences. Defaults to showing the progress inplace.
      9e89b5ad
    • S
      gprecoverseg: Show progress of pg_basebackup on each segment · 1b38c6e8
      Shoaib Lari 提交于
      The gprecoverseg utility runs pg_basebackup in parallel on all segments that are
      being recovered.  In this commit, we are logging the progress of each
      pg_basebackup on its host and displaying them to the user of gprecoverseg.  The
      progress files are deleted upons successful completion of gprecoverseg.
      
      Unit tests have also been added.
      Authored-by: NShoaib Lari <slari@pivotal.io>
      Co-authored-by: NMark Sliva <msliva@pivotal.io>
      Co-authored-by: NJacob Champion <pchampion@pivotal.io>
      Co-authored-by: NEd Espino <edespino@pivotal.io>
      Co-authored-by: NKalen Krempely <kkrempely@pivotal.io>
      1b38c6e8
    • D
      Docs: reword from 'experimental' to 'beta' (#7103) · 79d3bb7f
      David Yozie 提交于
      * reword from 'experimental' to 'beta'
      
      * Experimental -> Beta in markdown source
      
      * typo fix
      
      * Removing SuSE 11 details in Beta notes
      79d3bb7f
  2. 08 3月, 2019 6 次提交
  3. 07 3月, 2019 4 次提交
  4. 06 3月, 2019 5 次提交
    • D
      Break up the ignore block in the with suite · f6842d41
      Daniel Gustafsson 提交于
      A large set of tests were wrapped in an ignore block in the with
      suite due to them not working properly in the past. Since most of
      these have been addressed, it's time to break up the block and
      ensure testing coverage.
      
      This removes as much of the ignore as possible, and updates the
      underlying returned data to match. This will create merge conflicts
      with upstream but since we wont merge more code before cutting the
      next release it's better to have sane tests for the lifecycle of
      the next release, and we can always revert this on master as we
      statrt merging again.
      
      The trigger tests are left under ignore, even though they seem to
      work quite well, since atmsort cannot handle that output yet.
      Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
      f6842d41
    • D
      Add support for Squelching a ModifyTable node · 996cbc68
      Daniel Gustafsson 提交于
      An inner ModifyTable node must run to completion even if the outer
      node can be satisfied with a squelched inner. Ensure to run the node
      to completion when asked to Squelch to not risk losing modifications.
      
      This adds a testcase from the upstream with test suite to the GPDB
      with_clause suite. The original test is under an ignore block, but
      even with lifting that the output is different due to state being
      set up by prior tests which happen to fail in GPDB.
      Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
      996cbc68
    • P
      Mark get_dns_cached_address fault injector to fts probe only · 75d7446a
      Pengzhou Tang 提交于
      To test that fts probe can handle dns error, a fault named
      get_dns_cached_address is added, however, this fault might
      effect any connections that call getCdbComponentInfo() and
      make the fts_errors flaky. To fix this, mark the dns fault
      to fts probe only.
      75d7446a
    • H
      Fixed gppkg/deb package install for ubuntu (#7072) · c8c502c4
      Hao Wu 提交于
      1.  Use fakeroot to install/uninstall deb package in gppkg
      2. Throw an exception when installing an existing gppkg/deb package
      3. Throw an exception when updating a non-existing gppkg/deb package
      Co-authored-by: NHaozhou Wang <hawang@pivotal.io>
      c8c502c4
    • O
      Stop vendoring libstdc++.so.*-gdb.py · 060f1b53
      Oliver Albertini 提交于
      Existing code was globbing for libstdc++.so.* and copying it to gpdb
      lib, we are now ignoring the .py since that should not be vendored.
      
      * also cleaned up bash, no need for trailing '/.' on copy. Thanks d#!
      
      [#164347190]
      Co-authored-by: NOliver Albertini <oalbertini@pivotal.io>
      Co-authored-by: NNandish Jayaram <njayaram@pivotal.io>
      060f1b53
  5. 05 3月, 2019 13 次提交
  6. 04 3月, 2019 2 次提交
    • Z
      ItemPointer of AO tables need to be fixed · 33c5ce70
      Zhang Shujie 提交于
      We generate the fake ItemPointer for AO table's tuple, but it is
      a little different from the HEAP table's ItemPointer, the offset
      of the pointer can be 0 when it is a fake ItemPointer, but we
      treat 0 to be invalid in the previous codes, In order to run
      correctly, we set the 16th bit of offset to be 1 as a flag, then
      it can pass some check, but the value is not the real value, so when
      using the fake ItemPointer, we have to note to process the flag.
      
      The bitmap index build code expects to see the tuple IDs in order. 
      It gets confused when it sees offset number 32768(0x8000) 
      before offset number 1, this commit convert 32768(0x8000) to
      be 0.
      33c5ce70
    • O
      Vagrant: Source greenplum_path.sh in ~/.bashrc (#7080) · 36c56f9b
      Oliver Albertini 提交于
      * this way when you ssh onto the VM, you have e.g. psql available to you
      Authored-by: NOliver Albertini <oalbertini@pivotal.io>
      36c56f9b
  7. 02 3月, 2019 1 次提交
  8. 01 3月, 2019 2 次提交