Skip to content
Snippets Groups Projects
  1. Oct 13, 1996
    • Bruce Momjian's avatar
      I checked the alter table code, and started suspecting the relation · abb1b3e7
      Bruce Momjian authored
      cache.  I found if I manually added a line to flush the whole relation
      cache, the assert error disappeared.  Looking through the code, I found
      that the relation cache is flushed at the end of each query if the
      reference count is zero for the relation.  However, printf's showed that
      the rd_relcnt(reference count) for the accessed query was not returning
      to zero after each query.
      
      It turns out the parser was doing a heap_ropen in parser/analyze.c to
      get information about the table's columns, but was not doing a
      heap_close.
      
      This was causing the query after the ALTER TABLE ADD to see the old
      table structure, and the executor's assert was reporting the problem.
      abb1b3e7
    • Bryan Henderson's avatar
      bef3c89a
  2. Oct 12, 1996
  3. Oct 11, 1996
  4. Oct 10, 1996
  5. Oct 09, 1996
  6. Oct 08, 1996
  7. Oct 07, 1996
  8. Oct 05, 1996
Loading