parse postgresql error log for value too long and rewrite schema