1. 23 1月, 2004 4 次提交
  2. 22 1月, 2004 7 次提交
  3. 21 1月, 2004 5 次提交
  4. 20 1月, 2004 6 次提交
  5. 19 1月, 2004 4 次提交
  6. 18 1月, 2004 4 次提交
    • P
      Translation update · 90d14654
      Peter Eisentraut 提交于
      90d14654
    • T
      Don't use %s-with-precision format spec to truncate data being displayed · be4b8a86
      Tom Lane 提交于
      in a COPY error message.  It seems that glibc gets indigestion if it is
      asked to truncate strings that contain invalid UTF-8 encoding sequences.
      vsnprintf will return -1 in such cases, leading to looping and eventual
      memory overflow in elog.c.  Instead use our own, more robust pg_mbcliplen
      routine.  I believe this problem accounts for several recent reports of
      unexpected 'out of memory' errors during COPY IN.
      be4b8a86
    • T
      When testing whether a sub-plan can do projection, use a general-purpose · 6bdfde9a
      Tom Lane 提交于
      check instead of hardwiring assumptions that only certain plan node types
      can appear at the places where we are testing.  This was always a pretty
      fragile assumption, and it turns out to be broken in 7.4 for certain cases
      involving IN-subselect tests that need type coercion.
      Also, modify code that builds finished Plan tree so that node types that
      don't do projection always copy their input node's targetlist, rather than
      having the tlist passed in from the caller.  The old method makes it too
      easy to write broken code that thinks it can modify the tlist when it
      cannot.
      6bdfde9a
    • T
      Repair misestimation of indexscan CPU costs. When an indexqual contains · de816a03
      Tom Lane 提交于
      a run-time key (that is, a nonconstant expression compared to the index
      variable), the key is evaluated just once per scan, but we were charging
      costs as though it were evaluated once per visited index entry.
      de816a03
  7. 17 1月, 2004 1 次提交
  8. 16 1月, 2004 2 次提交
  9. 15 1月, 2004 1 次提交
    • T
      Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time · cfd7fb7e
      Tom Lane 提交于
      for sure...).  Rather than relying on the query context of a rangetable
      entry to identify what permissions it wants checked, store a full AclMode
      mask in each RTE, and check exactly those bits.  This allows an RTE
      specifying, say, INSERT privilege on a view to be copied into a derived
      UPDATE query without changing meaning.  Per recent discussion thread.
      initdb forced due to change of stored rule representation.
      cfd7fb7e
  10. 14 1月, 2004 6 次提交