Postgresql Get Next Sequence Value