Srinivasa R Chava <s(dot)chava(at)wcom(dot)com> writes:
> I'm using postgresql 7.2
> There is a bug in pg_restore. It is not restoring the sequences
> properly. and it is failing with views created by pgadmin tool.
This is not a bug in pg_restore, but in pg_dump: it's emitting the
stuff in the wrong order.
I believe all these bugs are fixed in current sources (7.2.1-to-be)
but you might want to pull down the code and check.
regards, tom lane