I am not so sure that nextval() will work always, i tend to have some SQLerrors like:
Exception:ERROR: Cannot insert a duplicate key into unique indexaccount_pkey
Something that i didnt have at all with 7.1
Best regards