hoping for some help as I am very new to postgresql admin!
(希望能获得一些帮助,因为我是Postgresql管理员的新手!)
I have 2 servers added to pgadmin, server 1 is a hosted db on Heroku the other is local to the server
(我将2个服务器添加到pgadmin中,服务器1是Heroku上的托管数据库,其他服务器本地)
I want to add the Heroku db as foreign tables to the local db
(我想将Heroku数据库作为外部表添加到本地数据库)
can I link these 2 servers?
(我可以链接这两个服务器吗?)
as so far I have failed (到目前为止,我失败了)
I have the fdw extension setup locally, and I am able to use it across three local dbs ok, do I need the extension also setup on the Heroku db?
(我在本地设置了fdw扩展名,并且可以在三个本地数据库中使用它,确定,我是否还需要在Heroku db上设置该扩展名?)
I have setup the fdw server as host localhost --- should this be the Heroku host path?
(我已经将fdw服务器设置为主机localhost ---这应该是Heroku主机路径吗?)
or is this ok since I have added - --server local? (还是可以,因为我添加了---server local?)
I get fsrvoption error if I add actual host path dbname dbname port 5432 (如果添加实际的主机路径dbname dbname端口5432,则会出现fsrvoption错误)
and then setup user user username password password
(然后设置用户用户名用户名密码密码)
any help appreciated!
(任何帮助表示赞赏!)
mal
(恶意的)
ask by user7679705 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…