Bruce Momjian writes:
> I think we should change the "check_function_bodies" to something more
> general. I like "restore_validation_mode" because it could also be used
> to disable foreign key checks which we are discussing. An even more
> general idea would be to have something like "restore_mode", and perhaps
> could handle cases like allowing a larger sort_mem or other
> optimizations during restore.
I also like this approach (independent of whether foreign keys should be
one of its applications). It gives us more freedom to open and close
these types of holes when new issues arise or pg_dump improves.
--
Peter Eisentraut peter_e@gmx.net