select 1432872302.15642 as newid; select setval('cookie3_id_seq',greatest((select round(((3501318795+10)/10))*10+((select nextval('cookie3_id_seq'))%10)),(select nextval('cookie3_id_seq')))::bigint)