Postgresql Select Next Sequence Value