[英]PostgreSQL - How to import custom data type when creating foreign table (using postgres-fdw)?
我正在嘗試使用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中的相同
我想知道,如何將自定義數據類型自動復制到目標數據庫?
謝謝!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.