Thom Brown <thom(at)linux(dot)com> writes:
> I'm getting a dependency loop issue with pg_dump when adding a schema
> to an extension where the schema being added is the same as the one
> containing the extension.
> CREATE EXTENSION file_fdw;
> ALTER EXTENSION file_fdw ADD SCHEMA public;
ISTM we ought to disallow that ... either the schema is inside the
extension, or vice versa, it's not sensible to say both.
regards, tom lane