結果 : how to check current sequence value in postgres