1. 07 12月, 2017 4 次提交
  2. 06 12月, 2017 10 次提交
  3. 05 12月, 2017 10 次提交
  4. 04 12月, 2017 4 次提交
  5. 02 12月, 2017 12 次提交
    • H
      Remove ancient Mac OS X name resolution hacks. · 1f56dffa
      Heikki Linnakangas 提交于
      These were added back in 2009 to work around DNS issues on Mac OS X. The
      comment there says it shouldn't really be needed, and should be removed
      once we gain confidence that it's not needed. I'm feeling confident now;
      there are no hacks like this in the upstream, and I don't recall any
      reports of issues like this.
      1f56dffa
    • H
      Remove obsolete nb_classification composite type. · db3cbda7
      Heikki Linnakangas 提交于
      It was used by the old nb_classify() aggregate function. It was removed in
      commit fae97ae7, but this type was left over.
      db3cbda7
    • H
      Remove redundant TINC tests on invalid gp_default_storage_options setting. · 612f2406
      Heikki Linnakangas 提交于
      These tests were failing, because commit 724f9d27 changed the error
      message. Instead of just memorizing the new expected output, let's remove
      these tests altogether. We have similar tests in the main regression suite,
      that ought to be enough.
      612f2406
    • S
      Bump ORCA version to 2.51.0 · 2077c01e
      Shreedhar Hardikar 提交于
      2077c01e
    • S
      Support optimization interrupts in ORCA · 0dfd0ebc
      Shreedhar Hardikar 提交于
      To support that, this commit adds 2 new ORCA APIs:
      - SignalInterruptGPOPT(), which notifies ORCA that an abort is requested
        (must be called from the signal handler)
      - ResetInterruptsGPOPT(), which resets ORCA's state to before the
        interruption, so that the next query can run normally (needs to be
        called only on the QD)
      
      Also check for interrupts right after ORCA returns.
      0dfd0ebc
    • S
      Update conditions required to terminate runaway queries · c02c22f1
      Shreedhar Hardikar 提交于
      GPDB uses "runaway query termination" to kill memory-intensive sessions
      when the total memory usage goes beyond the "red zone" limit. The "red
      zone detector" identifies the session consuming the most memory memory.
      If that is also currently active (i.e not in ReadCommand()), it is
      selected as the "primary" runaway session. Otherwise the session
      consuming next most memory is selected as the "secondary" runaway
      session, since an idle session cannot clean itself up.
      
      Once selected, the sessions attempts cleanup by either calling
      elog(ERROR). However, under certain conditions e.g critical sections, the
      clean up must be ignored.
      
      If the primary runaway session is idle and another session is marked as
      secondary, we should not terminate the secondary session if it is
      executing an administrative command (e.g database restarts). This is
      handled by ignoring clean up for secondary runaway sessions executing as
      superuser.
      
      Also we want to avoid cancelling a session outside of an active
      transaction since it will not be able to free up any more resources.
      
      This commit refactors the logic in RunawayCleaner_StartCleanup() to only
      cancel the query under the conditions described above. Furthermore, it
      makes sure that superuser() is called only when executing a transaction.
      Otherwise that can lead to a PANIC if it needs to access the catalogue.
      
      Also update runaway cleaner unit tests to include both primary and
      secondary runaway scenarios and add a unit test for runaway
      clean up when called outside of a transaction.
      c02c22f1
    • S
      gpperfmon test fix only · ccdc812d
      Shoaib Lari 提交于
      Signed-off-by: NNadeem Ghani <nghani@pivotal.io>
      ccdc812d
    • D
      Update Planner answer file for gpora · f18a3a59
      Dhanashree 提交于
      This was missed in commit 407b2880
      f18a3a59
    • S
      Bump Orca Version · 407b2880
      sambitesh 提交于
      407b2880
    • I
      Add Zstandard compression option for append-optimized tables. · 724f9d27
      Ivan Leskin 提交于
      Add a new compression option for append-optimized tables, "zstd". It is
      generally faster than zlib or quicklz, and compresses better. Or at least
      it can be faster or compress better, if not both at the same time, by
      adjusting the compression level. A major advantage of Zstandard is the wide
      range of tuning, to choose the trade-off between compression speed and
      ratio.
      
      Update documentation to mention "zstd" alongside "zlib" and "quicklz". More
      could be done; all the examples still use zlib or quicklz, for example, and
      I think we want to emphasize Zstandard more in the docs, over those other
      options. But this is the bare minimum to keep the docs factually correct.
      
      Using the new option requires building the server with the libzstd library.
      A new --with-zstd option is added for that. The default is to build without
      libzstd, for now, but we should probably change the default to be on, after
      we have had a chance to update all the buildfarm machines to have libzstd.
      
      Patch by Ivan Leskin, Dmitriy Pavlov, Anton Chevychalov. Test case, docs
      changes, and some minor editorialization by Heikki Linnakangas.
      724f9d27
    • C
      Bump gpbackup version to alpha 2 · b15e993f
      Chris Hajas 提交于
      Author: Chris Hajas <chajas@pivotal.io>
      Author: Karen Huddleston <khuddleston@pivotal.io>
      b15e993f
    • H
      Renumber bitmap index and opfamily OIDs, to avoid conflict with upstream. · 92619b9e
      Heikki Linnakangas 提交于
      These OIDs, in range 3012-3048, are about to be used for different things
      in the upstream, in the commits we're just about to merge from PostgreSQL
      8.4. Renumber GPDB-added objects out of the way.
      
      'pg_bitmapindex' pg_namespace entry: 3012 -> 7012
      'bitmap' pg_am entry: 3013 -> 7013
      all bitmap index opfamilies: 30XX -> 70XX
      92619b9e