Peter, > NOTICE: billing_requests_id_seq.nextval: sequence was re-created > > I'm performing the query: > select nextval('billing_requests_id_seq') as nextid; That's really odd. Can you post the version of Postgres you are running, and the output of the PSQL command \d billing_requests_id_seq -- -Josh Berkus Aglio Database Solutions San Francisco