Postgres Select Next Value From Sequence