in reply to Cycle through primary key with DBI
Well, duh
SELECT nextval( sequence );
Of course, it was all worthwhile to ask this question here.... calrified lots for me. thanks again, everybody