1. 18 8月, 2017 3 次提交
    • H
      Fix check for all-Const target list, in single-row-insert dispatch. · 2b497f09
      Heikki Linnakangas 提交于
      If you have a simple insert, like "INSERT INTO foo VALUES ('bar')", we
      evalute the target list (i.e. 'bar') in the master, and route the insert to
      the correct partition and segment, based on the constants. However, there
      was a mismatch between allConstantValuesClause(), and what its callers
      assumed. The callers assumed that if allConstantValuesClause() returns
      true, the target list contains only Const nodes. But in reality,
      allConstantValuesClause() also returned true, if there were non-volatile
      function expressions in the target list, that could be evaluated, and would
      then produce a constant result.
      
      Fix the mismatch, by making allConstantValuesClause() be more strict, so
      so that it only returns true if all the entries are true Consts.
      
      Fixes github issue #285, reported by @liruto.
      2b497f09
    • H
      Fix assertion failure (or incorrect behavior) in a planner corner-case. · 87ffb8e8
      Heikki Linnakangas 提交于
      It almost seems like when we merged with PostgreSQL 8.2 (sic), we missed
      this one line from commit 986085a7. Before that, the rowMarks list was
      a list of integers, but now it's a list of RowMarkClauses.
      87ffb8e8
    • J
      Update doc entries for rolcreaterexthdfs, rolcreatewexthdfs (#2917) · b3e54201
      Jane Beckman 提交于
      * Add table entries for rolcreaterexthdfs, rolcreatewexthdfs
      
      * Change to gphdfs protocol
      
      * typo
      b3e54201
  2. 17 8月, 2017 14 次提交
  3. 16 8月, 2017 23 次提交