繁体   English   中英

Azure PostgreSQL 外部数据包装器 postgres_fdw

[英]Azure PostgreSQL foreign data wrapper postgres_fdw

我正在尝试使用 Azure DB for PostgreSQL 实例的 PostgreSQL 外部数据包装器 (postgres_fdw) 扩展。 如 Azure DB for PostgreSQL 中所述,应支持外部数据包装器: https ://learn.microsoft.com/en-us/azure/postgresql/concepts-extensions

我设法为用户创建服务器和映射,但是当我尝试导入表或模式时出现以下错误:

ERROR:  could not connect to server "<server with public hostname on AWS>"
DETAIL:  could not translate host name "<server with public hostname on AWS>" to address: Unknown host

当用公共 IP 替换主机名时,我得到以下信息:

ERROR:  could not connect to server "<SERVER NAME>"
DETAIL:  could not connect to server: Network is down (0x00002742/10050)
    Is the server running on host "<public IP of the server" and accepting
    TCP/IP connections on port 5432?

在 Azure DB for PostgreSQL 实例的防火墙选项中,我已经有了从 0.0.0.0 开始到 255.255.255.255 结束的 AllowAllIps 规则。 是否还有其他配置可以访问 Azure、DNS 或防火墙配置之外的服务器?

对此并不完全确定,但前几天我们正试图做这样的事情,并且偶然发现了这个(有点令人沮丧的)引用:

“目前,不支持来自 Azure Database for PostgreSQL 的出站连接,但与其他 Azure Database for PostgreSQL 服务器的连接除外。”

来源: https ://learn.microsoft.com/en-us/azure/postgresql/concepts-extensions#dblink-and-postgres_fdw

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM