1. 29 9月, 2020 1 次提交
    • J
      Format ORCA and GPOPT. · 219fe0c4
      Jesse Zhang 提交于
      The canonical config file is in src/backend/gpopt/.clang-format (instead
      of under the non-existent src/backend/gporca), I've created one (instead
      of two) symlink, for GPOPT headers. Care has been taken to repoint the
      symlink to the canonical config under gpopt, instead of gpopt as it is
      under HEAD.
      
      This is spiritually a cherry-pick of commit 2f7dd76c.
      (cherry picked from commit 2f7dd76c)
      219fe0c4
  2. 01 6月, 2019 1 次提交
  3. 16 8月, 2018 1 次提交
  4. 04 4月, 2017 1 次提交
    • H
      Fix duplicate typedefs. · 615b4c69
      Heikki Linnakangas 提交于
      It's an error in standard C - at least in older standards - to typedef
      the same type more than once, even if the definition is the same. Newer
      versions of gcc don't complain about it, but you can see the warnings
      with -pedantic (among a ton of other warnings, search for "redefinition").
      
      To fix, remove the duplicate typedefs. The ones in src/backend/gpopt and
      src/include/gpopt were actually OK, because a duplicate typedef is OK in
      C++, and those files are compiled with a C++ compiler. But many of the
      typedefs in those files were not used for anything, so I nevertheless
      removed duplicate ones there too, that caught my eye.
      
      In gpmon.h, we were redefining apr_*_t types when postgres.h had been
      included. But as far as I can tell, that was always - all the files that
      included gpmon, included postgres.h directly or indirectly before that.
      Search & replace the references to apr_*_t types in that file with the
      postgres equivalents, to make it more clear what they actually are.
      615b4c69
  5. 18 11月, 2016 1 次提交
  6. 30 12月, 2015 1 次提交
    • H
      Silence warnings about converting string constants to char * without cast. · 4607a4a3
      Heikki Linnakangas 提交于
      * Add 'const' to arguments of some functions. While we're at it, remove the
      duplicate extern declaration of FaultInjector_InjectFaultIfSet from
      gpdbdefs.h.
      
      * pstrdup() constants passed to makeString(). I think the lack of copy
      was harmless, but makeString() explicitly says that the caller should make
      a copy, and all other callers seem to obey that, so better safe than sorry.
      4607a4a3
  7. 24 11月, 2015 1 次提交
  8. 28 10月, 2015 1 次提交