1. 17 8月, 2017 11 次提交
  2. 16 8月, 2017 23 次提交
  3. 15 8月, 2017 6 次提交
    • H
      Speed up and clean up gpdiff. · 275fe5dd
      Heikki Linnakangas 提交于
      * Remove unnecessary "use" directives. Importing modules adds some overhead.
      
      * Use File::Temp instead of POSIX.tmpnam for creating temporary files.
        File::Temp is used in atmsort.pm anyway, so also using it in explain.pm
        doesn't add extra overhead, like the otherwise-unused POSIX module does.
        The File::Temp API actually fits our needs better, so this shortens the
        code. And it allows removing the "use POSIX" directives, which again
        reduces the overhead of starting up the program.
      
      * Use perl's built-in grep function, instead of launching the external
        grep program. Launching a new process is more expensive.
      
      Altogether, these changes shave maybe 5-10 ms off the startup time of
      gpdiff.pl, out of about 60 ms. That's not a huge difference, but every
      little helps, and this is nice clean up in any case.
      275fe5dd
    • H
      Remove unnecessary gdiff/diff check. · 3984e9f5
      Heikki Linnakangas 提交于
      In PostgreSQL, we always just use 'diff', even on Solaris. Should be good
      enough for GPDB too. (We don't officially even support Solaris anymore.)
      3984e9f5
    • Z
      Fix bug: gpconfig change gp_resource_manager fail · ff596905
      Zhenghua Lyu 提交于
      The quote_string function will make sure that the value(if type is string) is
      enclosed by `'`. This is introduced in previous commit(f936c4f3). We need
      to make the change of gp_resource_manager meet the logic now.
      ff596905
    • L
      gpperfmon: fix behave test gpconfig quoting · 62b14ce6
      Larry Hamel 提交于
      Follow up commit for f936c4f3, which
      added quotes around gpconfig values.
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      62b14ce6
    • H
      Remove unused test GUCs. · 0d9942a2
      Heikki Linnakangas 提交于
      There are better ways to set block size and table type, like with the
      gp_default_storage_options GUC.
      0d9942a2
    • H
      Remove obsolete struct. · 833a6b7c
      Heikki Linnakangas 提交于
      833a6b7c