1. 08 6月, 2017 1 次提交
  2. 07 6月, 2017 20 次提交
  3. 06 6月, 2017 8 次提交
  4. 05 6月, 2017 8 次提交
    • D
      Properly free optlines in pg_ctl · 627ba5d8
      Daniel Gustafsson 提交于
      Commit 5a2d9a5a pulled in free_readfile() from upstream but one
      invocation was erroneously placed too early in the logic. Move down
      to after all uses of optlines are done. With that, also allocate
      memory for data pulled out of the config file, partially backporting
      dd917bb7 from upstream which does the same thing.
      627ba5d8
    • D
      Fix XML whitespace option parsing · c20e5c4e
      Daniel Gustafsson 提交于
      At some point in the past it seems the keyword list was merged from
      upstream 8.4 without merging the actual code, and instead keywords
      which weren't yet supported where commented out. The XML whitespace
      keywords for STRIP WHITESPACE and PRESERVE WHITESPACE were however
      not uncommented when XML support was merged, resulting in the below
      error when trying to restore the XML views in ICW back after a dump:
      
      db=# SELECT XMLPARSE(CONTENT '<abc>x</abc>'::text PRESERVE WHITESPACE) AS "xmlparse";
      ERROR:  syntax error at or near "WHITESPACE"
      LINE 1: ...CT XMLPARSE(CONTENT '<abc>x</abc>'::text PRESERVE WHITESPACE...
                                                                   ^
      Put the keywords back, and also remove commented out keywords which
      we dont support but will get when merging 8.4 to reduce the diff with
      upstream. Also add a testcase for XML whitespace syntax parsing.
      c20e5c4e
    • D
      Update AO README with correct aoseg table naming · 144db460
      Daniel Gustafsson 提交于
      The aosegments table is in fact using the oid of the relation and
      not the relfilenode. Also add a short note about the mapping in
      pg_appendonly and reflow the section with the new content.
      144db460
    • R
      Record memory usage for resource group. · 83b58aef
      Richard Guo 提交于
      Record memory usage for resource group.
      
      1. Update total memory usage for a resource group when
         a session belonging to this group allocates/frees memory.
      
      2. Update total memory usage for related resource groups
         when a session enters into or leaves from a resource group.
      
      3. Dispatch current resource group ID from QD to QEs to
         keep track of current resource group.
      
      4. Show total memory usage of a resource group.
      
      5. Add test case for memory usage recording of resource group.
      Signed-off-by: Nxiong-gang <gxiong@pivotal.io>
      Signed-off-by: NKenan Yao <kyao@pivotal.io>
      Signed-off-by: NNing Yu <nyu@pivotal.io>
      83b58aef
    • A
      Disable gpcloud while building docker image · b1d10fb8
      Adam Lee 提交于
      Because the g++ doesn't meet gpcloud's requirements.
      
      This is a quick fix, we better upgrade GCC to building env's version.
      b1d10fb8
    • P
      disable gpcloud for windows cl build · 995f71a6
      Peifeng Qiu 提交于
      995f71a6
    • A
      Disable gpcloud in travis due to the compiler issue · 35cc51f9
      Adam Lee 提交于
      g++ in travis doesn't support C++11 yet, which is needed by gpcloud.
      35cc51f9
    • A
      Add a build flag for gpcloud · 4e34d8bb
      Adam Lee 提交于
      This commit does things below to make developers' life, who are still
      using old version C++ compilers, easier.
      
      Add a flag to optionally disable gpcloud compilation.
      Add a configure check for C++11 if gpcloud is enabled.
      Signed-off-by: NAdam Lee <ali@pivotal.io>
      Signed-off-by: NHaozhou Wang <hawang@pivotal.io>
      4e34d8bb
  5. 03 6月, 2017 3 次提交