"Mike Frysinger" <vapier(dot)adi(at)gmail(dot)com> writes:
> $ pg_dump -F c -s -d database-server mydb > mydb.schema
> $ psql -d mydb < mydb.schema
> <error about users_idx not existing>
pg_dump -Fc does not produce a file that psql can read directly.
Is the above really what you did?
regards, tom lane