fixbug: overrun in kern_row_to_column, if last referenced column is not last column in table definition
fixbug: replace lwlock by transaction lock, to avoid potential problem an error raised during cache build