Postgres Select Value From Sequence