IDEA database连接PGSQL报错。
[58P01] org.postgresql.util.PSQLException: ERROR: could not read symbolic link "pg_tblspc/107203": No such file or directory.
ERROR: could not read symbolic link "pg_tblspc/107203": No such file or directory
(2 sec, 307 ms)
[58P01] org.postgresql.util.PSQLException: ERROR: could not read symbolic link “pg_tblspc/107203”: No such file or directory.
ERROR: could not read symbolic link “pg_tblspc/107203”: No such file or directory
tables里面的表一直出不来,点击Data Source Properties即可。
点击Advanced,勾选Introspect using JDBC metadata。
刷新,tables底下就有数据库的表了。
我的IDEA版本是2021.1.1,高于这个版本的都会有这个问题,2019版本的IDEA好像没有这个问题。