1. 01 6月, 2016 6 次提交
  2. 29 5月, 2016 3 次提交
    • H
      Lower minimum work_mem to 64kB, also on non-assert-enabled builds. · d4ec32eb
      Heikki Linnakangas 提交于
      A new regression test was added in the upstream that does work_mem='64kB',
      which used to fail without --enable-cassert. There's little reason to not
      allow a small value here, so let's just allow it. It doesn't mean that
      anyone should use such a small value in production, but that's just a
      matter of "don't do that then".
      
      The minimum was changed later in the upstream, too, to be 64 kb regardless
      of BLCKSZ.
      d4ec32eb
    • H
      Fix bug in freeGangsForPortal(). · e88fa555
      Heikki Linnakangas 提交于
      prev_item variable needs to be reset between the two loops. Otherwise,
      if the first item in the latter list (allocatedReaderGangs1) needs to
      be removed, things go wrong. I got an assertion failure with
      installcheck-good from that:
      
      FailedAssertion(""!(prev != ((void *)0) ? ((prev)->next) == cell : list_head(list) == cell)"", File: ""list.c"", Line: 616)
      
      This got broken in the recent refactoring commit 46dfa750. The rest of the
      changes in this commit, introducing the new next_item variable, wasn't
      needed for correctness, but IMHO makes the code easier to understand.
      e88fa555
    • H
      Clear MyProc->pid when an auxiliary process exits. · 071a969c
      Heikki Linnakangas 提交于
      I missed this in commit af7b1b51, which reverted the backend shutdown code
      closer to the upstream. Without it, auxiliary proc slots are never reused,
      so you run out of them fairly quickly, if any (non-permanent) auxiliary
      processes are used.
      
      Reported by Gang Xiong, who ran into this with gprecoverseg.
      071a969c
  3. 28 5月, 2016 2 次提交
    • H
      Remove Debug_check_for_invalid_persistent_tid option. · b3ec6f00
      Heikki Linnakangas 提交于
      The checks for invalid TIDs are very cheap, a few CPU instructions. It's
      better to catch bugs involving invalid TID early, so let's always check
      for them.
      
      The LOGs in storeAttrDefault() that were also tied to this GUC seemed
      oddly specific. They were probably added long time ago to hunt for some
      particular bug, and don't seem generally useful, so I just removed them.
      b3ec6f00
    • J
      Refactored argument passing in backup and restore to use a context variable. · 9d1ae66c
      Jamie McAtamney 提交于
      Previously, the functions and subclasses in gpcrondump, gpdbrestore, dump.py,
      and restore.py all required long lists of arguments to be passed around and
      required many helper functions.  This made adding new command-line options
      or new features quite time-consuming to implement and to test.
      
      Now, a Context class has been added to backup_utils.py that holds all of the
      variables used for command-line options, as well as other variables used in
      many places during backup and restore; additionally, many helper functions
      have been condensed into a few functions within Context, and in the future
      more such functions can be moved to Context as needed.  This will make it
      much easier to expand dump and restore functionality going forward.
      9d1ae66c
  4. 27 5月, 2016 5 次提交
  5. 26 5月, 2016 1 次提交
    • D
      Remove copy-paste error from gpopt Makefile · 46b5bb76
      Daniel Gustafsson 提交于
      This seems like a copy-paste error since the IDENTIFICATION marker
      is a PostgreSQL artifact and Peter Eisentraut probably didn't write
      the gpopt Makefile. Remove to make it look like the headers in other
      GPDB specific makefiles.
      46b5bb76
  6. 25 5月, 2016 4 次提交
  7. 24 5月, 2016 3 次提交
  8. 23 5月, 2016 1 次提交
  9. 21 5月, 2016 4 次提交
  10. 20 5月, 2016 7 次提交
    • J
      Honor BLD_TYPE if set. · 5844fa62
      Jesse Zhang and Xin Zhang 提交于
      5844fa62
    • D
      Remove documentation about deprecated -i option from pg_dump · 0b28e753
      Daniel Gustafsson 提交于
      The -i option is a noop in pg_dump and pg_dumpall, remove documentation
      from reference page.
      
      Andreas Scherbaum
      0b28e753
    • D
      Correct spelling in pgcrypto gppkg definition · 254be51a
      Daniel Gustafsson 提交于
      Make the description text match the summary.
      254be51a
    • D
      Modernize and split out lookup code from autoconf · 107b21fb
      Daniel Gustafsson 提交于
      This attempts to clean up the autoconf script a bit and follow the
      upstream division of generic code in config/ with the actual lookup
      configuration in configure.in. Also updated our installation to rely
      on a more modern version of autoconf by backporting parts of upstream
      commit 7cc514ac. This commit consist of:
      
        * Decouple --enable-codegen and --with-codegen-prefix to not
          silently ignore prefixes if the enable flag isn't passed.
      	Emit a warning if configuring prefixes without codegen. Also
      	moves --with-codegen-prefix to require an argument since
      	--with-codegen-prefix without an argument is likely to hide
      	either a scripting bug or a misunderstanding from the user
        * Move program checks for cmake and apr-1-config to programs.m4
          and allow for path overrides and ensure to use the resolved
      	path when invoking cmake for --enable-codegen
        * Propagate the apr-1-config flags and objects to where used via
          Makefile.global rather than performing another lookup
        * Remove check for unused arguments since autoconf does that
          automatically since 2.63
        * Remove backported fseeko handling since that isn't relevant
          for modern autoconf versions
        * Minor help output tidying and spelling fixes
      107b21fb
    • A
      s3ext: refactor s3log codes · f2586b70
      Adam Lee 提交于
      f2586b70
    • P
      Add a flag into gpcrondump to show the DDBoost configuration · 86af89e5
      Pengcheng Tang 提交于
      information.
      
      Authors: Christopher Hajas, Pengcheng Tang
      86af89e5
    • P
      gprecoverseg should not run incremental recovery on corrupted change tracking log · 9e9af8a8
      Pengcheng Tang 提交于
      If peer of failed segment is in ChangeTrackingDisabled state, its change tracking
      log is corrupted. This commit is for gprecoverseg to stop recovering such
      segments in incremental mode, instead it warns user to run a full recovery.
      
      Also enable gprecoverseg unit and behave tests.
      
      Authors: Pengcheng Tang, Chumki Roy, Christopher Hajas
      9e9af8a8
  11. 19 5月, 2016 4 次提交