1. 03 8月, 2019 6 次提交
  2. 02 8月, 2019 15 次提交
  3. 01 8月, 2019 8 次提交
  4. 31 7月, 2019 11 次提交
    • A
      Fix gpperfomon GUC definitions · b5729a03
      Asim R P 提交于
      GUC gp_enable_gpperfmon is defined to be set only at postmaster
      restart.  Having a check hook that checks if the process setting it
      has superuser privileges is meaningless.  The check hook is removed.
      
      GUC gp_gpperfmon_send_interval is intended to be set only by
      superuser.  Adjust its definition accordingly and leverage checks
      built into GUC framework for superuser privileges.  The check hook for
      this GUC tried to achieve the same but incorrectly.  If the check hook
      was invoked at the beginning of main query processing loop by a
      backend process, it would crash.  At the beginning of the main loop, a
      transaction is not started yet.  The check hook invokes superuser()
      interface, which performs catalog access.  Doing so without starting a
      transaction is a recipe for crashing badly.  Such a crash was observed
      in production at least once.
      
      Thank you Jesse Zhang for suggesting to remove superuser check.
      
      The patch doesn't add any tests because, after removing the check
      hooks, the checks built into GUC framework are being used.  That code
      path is well exercised by existing regression tests.
      
      Reviewed-by: Daniel Gustafsson
      b5729a03
    • D
      Fix two more entries in the mailmap · f1ded43f
      Daniel Gustafsson 提交于
      Happened to spot these due to recent correspondence.
      f1ded43f
    • D
      Hook up gpMgmt with toplevel all target · aa1640a6
      Daniel Gustafsson 提交于
      With the revamp of the gpMgmt Makefiles, the catalog json and stream
      binary are now compiled on make all, so we should perform them there
      rather than opt for building on make install. This still leaves some
      modules which are compiled on make install, such as pygresql, but a
      small start is still a start.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      aa1640a6
    • D
      Remove psi from gpMgmt Makefile · 832896ff
      Daniel Gustafsson 提交于
      The psi package is no longer installed anywhere, so remove the target
      from the Makefile.
      
      Reported-by: Shaoqi Bai
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      832896ff
    • D
      Remove dead code · 22e8d1df
      Daniel Gustafsson 提交于
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      22e8d1df
    • D
      Fix compiler warnings in stream utility · 6de21f62
      Daniel Gustafsson 提交于
      The stream code lacked prototypes proper enough to be allowed through
      a modern compiler with sane compiler flags, fix by defining the funcs
      as taking void parameter.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      6de21f62
    • D
      Convert bin, sbin and doc in gpMgmt to recursive targets · b5aba18b
      Daniel Gustafsson 提交于
      Installing the Management utilities used to be pretty brute-force
      operation which copied more or less everything over blindly and then
      tried to remove what shouldn't be installed. This is clearly not a
      terribly clean and sustainable solution, as subsequent issues with
      it has proven (editor savefiles, patch .rej/.orig files etc were
      routinely copied and never purged etc).
      
      This takes a first stab at turning installation of gpMgmt/bin, sbin
      and doc into proper recursive make targets which only install the
      files that were intended to be installed.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      b5aba18b
    • D
      Make stream standalone compileable · 0cad6637
      Daniel Gustafsson 提交于
      Break out compilation of stream from the gpMgmt/bin Makefile into its
      own Makefile which follows the general structure for how programs are
      compiled in the tree.  The resulting binary is installed in bin/lib
      with a symlink to the previously used location.
      
      This also moves stream from src/ as it was the only directory left in
      there making the indirection pointless.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      0cad6637
    • D
      Remove obsolete copy of gpfdist · e12a1129
      Daniel Gustafsson 提交于
      gpfdist was rewritten in C from Python, but the old Python code was
      never removed from the repo.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      e12a1129
    • D
      Bump version of packcore · 4bfd3875
      Daniel Gustafsson 提交于
      The packcore version has been fixed to 0.4beta since 2014 when it
      was bumped from 0.3alpha. As it is installed alongside other tools
      lets version it with the main distribution.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      4bfd3875
    • D
      Expose sbindir as a global Makefile variable · 45478fb2
      Daniel Gustafsson 提交于
      The sbindir is used in for some Python management utilities, but was
      hardcoded rather than using the proper supplied variable. Exporting
      from Makefile.global is a first step, next up is to fix all instances
      where the directory name is hardcoded.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      45478fb2