postgresql中不存在角色“SYSTEM”

时间:2015-11-13 12:39:51

标签: postgresql

我在dbname“migrate”中创建了一个函数来存储另一个名为“Fulfil.1.9.1”的dbname中的值 执行功能时我得到的错误就像这样

  

角色“系统”不存在

insert into ns_fw_theme(theme_id, theme_name)
select theme_id,
       theme_name
from dblink('dbname=Fulfil_1.9.1','select theme_id,
                                   theme_name from ns_fw_theme')
  AS t1(theme_id character varying(100), theme_name character varying(100));

1 个答案:

答案 0 :(得分:0)

来自dblink的

(' host = localhost user = postgres password = admin dbname = Fulfil_1.9.1',' ..);