首页 > 解决方案 > 从 Azure RDS 到 AWS RDS 的 Postgres FDW 连接问题

问题描述

我在 PostgreSQL 中使用 FDW 扩展从 2 年开始将数据从一个数据库加载到另一个数据库。现在,我的一个 RDS 已从 AWS 移至 Azure。现在,当我尝试从 Azure 连接到 AWS 时,它说主机无效。那么,在这种情况下,如果 RDS 来自不同的服务,FDW 就不起作用?

错误:

  Detail: could not connect to server: Network is down (0x00002742/10050)
    Is the server running on host "xxxxx" (10.xx.xx.xx) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Network is down (0x00002742/10050)
    Is the server running on host "xxxxx" (10.xx.xx.xx) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Network is down (0x00002742/10050)
    Is the server running on host "xx" (10.xx.xx.xxx) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Network is down (0x00002742/10050)
    Is the server running on host "xx" (10.xx.xx.xx) and accepting
    TCP/IP connections on port 5432?```

标签: postgresqlamazon-web-servicesazuregreenplumpostgres-fdw

解决方案


推荐阅读