我正在尝试使用postgresql_fdw
(https://www.postgresql.org/docs/current/postgres-fdw.html)创建外部表视图。
尝试IMPORT FOREIGN SCHEMA public FROM SERVER replica_db1 INTO db1
时会报告
type "public.custom_type" does not exist
与https://www.postgresql.org/docs/current/postgres-fdw.html
中的相同我想知道,如何将自定义数据类型自动复制到目标数据库?
谢谢!