store calculated columns for postgresql :-(