Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> My guess is the problem is that the views use column(func(params))
> which get output by pg_dump as func(params).column.
Um. Looks like you're right: I see
pgadmin_get_sequence(c.oid).sequence_last_value
and some similar bogosities in the sample views.
> I can replicate in
> 7.2beta4 with a simpler case, but haven't looked any further.
Er, what version do you have, again? I tweaked the backend to fix that
problem awhile ago --- according to the CVS logs the fix is in 7.2beta4:
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c
regards, tom lane