一.在postgresql的安装文件夹\8.3\data\pg_hba.conf里面(或者在开始菜单程序下面的postgresql的配置文档)找到“# IPv4 local connections:”(不包括引号,下同)在它上面添加“local pgsql all trust”,在它下面的“host all all 127.0.0.1/32 md5”下面添加一行,内容为“host all all 192.168.91.1/24 md5”注:127.0.0.1/32和192.168.91.1/24
The server doesn't grant access to the database: the server reports FATAL: no pg_hba.conf entry for host "192.168.0.123", user "postgres", database "postgres" FATAL: no pg_hba.conf entry for host "192.168.0.123", us
update dbo.m_role_fun a set role_code = b.rsc from (select rsc, fun_code from dbo.m_fun) b where a.fun_code = b.fun_code 几个开源数据库的连接更新的写法都不同,比较下来还是Postgres优雅点. 回顾下MySQL写法: update A join B on A.x = B.x set A.xx = B.xx Firebird 写法: MERGE INTO target [[A