1. 31 8月, 2016 3 次提交
    • K
      Remove WalSendServerProc enum since it is never used · aa02fa06
      Kenan Yao 提交于
      aa02fa06
    • K
      Fix the postmaster reset failure on master node · 6b323078
      Kenan Yao 提交于
      If a QD crashes for reasons such as SIGSEGV, SIGKILL or PANIC,
      postmaster reset fails sometimes. The root cause is: postmaster
      would first tell child processes to exit, and then wait for the
      termination of important processes such as AutoVacuum, BgWriter,
      CheckPoint etc, before it resets share memory and restarts auxiliary
      processes; however, WAL writer process is missed in the waiting list,
      so it can happen that postmaster spawns StartupProcess and then notices
      the exit of WAL writer, so it tells StartupProcess to exit; then
      postmaster would notice the abnormal exit of StartupProcess in turn,
      and treats it as recovery failure, then call exit() itself. Thus, we end
      up with no postmaster process on master node at all.
      
      This happens almost everytime when master host machine has poor performance.
      6b323078
    • S
      Add new GUC to control Codegen Optimization level. · f160fa5a
      Shreedhar Hardikar 提交于
      Used when compiling generated code. EXPLAIN codegen also
      runs optimize with this optimize level, making it easier to see
      the features the compiler optimizes.
      f160fa5a
  2. 30 8月, 2016 1 次提交
  3. 29 8月, 2016 19 次提交
  4. 28 8月, 2016 1 次提交
  5. 26 8月, 2016 8 次提交
  6. 25 8月, 2016 8 次提交
    • H
    • H
      Reformat some GPDB-specific files. · 31b4c867
      Heikki Linnakangas 提交于
      Whitespace and comment fixes, to follow the usual project style.
      
      Remove duplicated function comments between the .h and .c files. Per the
      usual project convention, all explanations of a function and its arguments
      are in the .c file, and the .h file only contains the prototypes. There
      were some additional comments about the "sections" of the files that
      seemed useful, but were only in the .h files. I moved those to the .c
      files instead.
      31b4c867
    • H
      Change AO block checksum algorithm to match that of 4.3. · b2ba0062
      Heikki Linnakangas 提交于
      Turns out that commit 6c025b52 subtly
      changed the CRC calculation. The old crc32cFinish() inline function
      returned the final checksum, while the new FIN_CRC32C() macro modifies
      the variable in place. The old calls to crc32cFinish() discarded the
      return value, and were therefore in fact no-ops. That was surely not
      intentional, but it doesn't make any difference to the strength of
      the checksum, so it doesn't seem worth changing from previous releases.
      b2ba0062
    • H
      Remove obsolete upgrade-handling code. · 8b37b2d9
      Heikki Linnakangas 提交于
      8b37b2d9
    • H
      Remove gp_flush_buffer_pages_when_evicted GUC. · 668d4af8
      Heikki Linnakangas 提交于
      Looking at old git history, this was added back in 2009. The related
      ticket on adding it said:
      
          Add GUC that make every buffer page from the buffer pool flushed on
          eviction.
      
          Note that this will NOT necessarily flush all buffer pages when the
          postmaster is shutdown. I think this is acceptable for our purposes.
      
          (Our purpose is to make sure that overwrites of the buffer pages are not
          lost and instead are always written to disk so we can catch errors)
      
      I'm not sure what errors that was meant to catch, or how, but I don't
      think we have any regression tests or anything that uses it anymore.
      Let's remove it, to make merging with upstream easier.
      668d4af8
    • H
      Remove dead catcore stuff. · 1978dff7
      Heikki Linnakangas 提交于
      These were only used by CaQL. I didn't realize that earlier..
      1978dff7
    • D
      Fix incorrect memorized output in information_schema test · 1db4dbd3
      Daniel Gustafsson 提交于
      This actually returns 6 rows and not 5, not sure why that hasn't
      triggered before but the reorganisation of gpdiff uncovered it.
      1db4dbd3
    • D
      Move GPDB specific test from the upstream schedule file · 6dc675c9
      Daniel Gustafsson 提交于
      The variadic and default parameters tests are specific to GPDB so
      move them to our own regress schedule file.
      6dc675c9