last insert id capability for postgres