1. 01 5月, 2008 1 次提交
    • T
      Fix nodeTidscan.c to not trigger an error if the block number portion of · 772f63dd
      Tom Lane 提交于
      a user-supplied TID is out of range for the relation.  This is needed to
      preserve compatibility with our pre-8.3 behavior, and it is sensible anyway
      since if the query were implemented by brute force rather than optimized
      into a TidScan, the behavior for a non-existent TID would be zero rows out,
      never an error.  Per gripe from Gurjeet Singh.
      772f63dd
  2. 30 4月, 2008 3 次提交
  3. 29 4月, 2008 5 次提交
  4. 28 4月, 2008 2 次提交
  5. 27 4月, 2008 2 次提交
  6. 26 4月, 2008 1 次提交
  7. 25 4月, 2008 13 次提交
  8. 24 4月, 2008 5 次提交
  9. 23 4月, 2008 2 次提交
  10. 22 4月, 2008 6 次提交
    • M
    • B
      a256ea50
    • M
      Replace developer FAQ with a reference to the wiki, which is where · fc2117a4
      Magnus Hagander 提交于
      it now lives (per discussion). Leave the other FAQs alone for now.
      fc2117a4
    • T
      Issue explicit error messages for attempts to use "shell" operators in · 1ad76112
      Tom Lane 提交于
      ordinary expressions.  This probably doesn't catch every single case
      where you might get "cache lookup failed for function 0" for use of a
      shell operator, but it will catch most.  Per bug #4120 from Pedro Gimeno.
      
      This patch incidentally folds make_op_expr() into its sole remaining
      caller --- the alternative was to give it yet more arguments, which
      didn't seem an improvement.
      1ad76112
    • T
      Fix convert_IN_to_join to properly handle the case where the subselect's · ff673f55
      Tom Lane 提交于
      output is not of the same type that's needed for the IN comparison (ie,
      where the parser inserted an implicit coercion above the subselect result).
      We should record the coerced expression, not just a raw Var referencing
      the subselect output, as the quantity that needs to be unique-ified if
      we choose to implement the IN as Unique followed by a plain join.
      
      As of 8.3 this error was causing crashes, as seen in bug #4113 from Javier
      Hernandez, because the executor was being told to hash or sort the raw
      subselect output column using operators appropriate to the coerced type.
      
      In prior versions there was no crash because the executor chose the
      hash or sort operators for itself based on the column type it saw.
      However, that's still not really right, because what's unique for one data
      type might not be unique for another.  In corner cases we could get multiple
      outputs of a row that should appear only once, as demonstrated by the
      regression test case included in this commit.
      
      However, this patch doesn't apply cleanly to 8.2 or before, and the code
      involved has shifted enough over time that I'm hesitant to try to back-patch.
      Given the lack of complaints from the field about such corner cases, I think
      the bug may not be important enough to risk breaking other things with a
      back-patch.
      ff673f55
    • M
      Clean up float4byval and float8byval handling by dealing with them completely · a31b03ba
      Magnus Hagander 提交于
      from inside the build script.
      a31b03ba