帐号test,在pgAdmin上可以连接数据库,对表能select, insert, update, delete,但是java程序连接的时候报错:
org.postgresql.util.PSQLException: ERROR: permission denied for relation in_financialindicators;
程序使用postgres帐号连接的时候又是正常的.
org.postgresql.util.PSQLException: ERROR: permission denied for relation in_financialindicators;
程序使用postgres帐号连接的时候又是正常的.
http://www.pgsqldb.org/pgsqldoc-8.1c/client-authentication.html
http://www.pgsqldb.org/pgsqldoc-8.1c/user-manag.html
连接还是有问题,只有把超级用户的权限给了test才没报错.