Keary Suska <hierophant(at)pcisys(dot)net> writes:
> The bug is that CREATE staements are issued as well as SELECT nextval()
> which readies the sequence.
What version are you running? I see no such behavior in either 7.1.3 or
current sources: pg_dump -a produces only
SELECT setval ('"foo_f2_seq"', 2, 't');
No sign of a CREATE SEQUENCE.
regards, tom lane