1. 07 Oct, 2008 4 commits
    • Heikki Linnakangas's avatar
      When a relation is moved to another tablespace, we can't assume that we can · fa3938fc
      Heikki Linnakangas authored
      use the old relfilenode in the new tablespace. There might be another relation
      in the new tablespace with the same relfilenode, so we must generate a fresh
      relfilenode in the new tablespace.
      
      The 8.3 patch to let deleted relation files linger as zero-length files until
      the next checkpoint made this more obvious: moving a relation from one table
      space another, and then back again, caused a collision with the lingering
      file.
      
      Back-patch to 8.1. The issue is present in 8.0 as well, but it doesn't seem
      worth fixing there, because we didn't have protection from OID collisions
      after OID wraparound before 8.1.
      
      Report by Guillaume Lelarge.
      fa3938fc
    • Tom Lane's avatar
      Improve parser error location for cases where an INSERT or UPDATE command · 078aaf79
      Tom Lane authored
      supplies an expression that can't be coerced to the target column type.
      The code previously attempted to point at the target column name, which
      doesn't work at all in an INSERT with omitted column name list, and is
      also not remarkably helpful when the problem is buried somewhere in a
      long INSERT-multi-VALUES command.  Make it point at the failed expression
      instead.
      078aaf79
    • Bruce Momjian's avatar
      a6586c0d
    • Tom Lane's avatar
      Fix oversight in recent patch to support multiple read positions in · 34f89cb4
      Tom Lane authored
      tuplestore: in READFILE state tuplestore_select_read_pointer must
      save the current file seek position in the read pointer being
      deactivated.
      34f89cb4
  2. 06 Oct, 2008 11 commits
  3. 05 Oct, 2008 8 commits
  4. 04 Oct, 2008 3 commits
  5. 03 Oct, 2008 4 commits
  6. 02 Oct, 2008 6 commits
  7. 01 Oct, 2008 4 commits