当前位置:网站首页>Intelij 中的 Database Tools可以连接但是无法显示SCHEMA, TABLES
Intelij 中的 Database Tools可以连接但是无法显示SCHEMA, TABLES
2022-06-24 15:33:00 【独家雨天】
问题描述:在使用Postgres 数据库的过程中,数据库显示连接成功,使用第三方的数据库连接也正常,但是在Intelij自带的DataGrip工具中无法正常的显示Schema 和Tables信息。
使用软件:
- Intelij 版本为 2019.3
- Docker 版本的 Postgres 12
问题描述
每次点击更新数据库按钮,无法刷新出数据库的Tables。
并且Log控制台爆出如下错误:
12:53 Connected
12:53 select T.relkind as table_kind,
T.relname as table_name,
T.oid as table_id,
T.xmin as table_state_number,
T.relhasoids as table_with_oids,
T.relnamespace as tablespace_id,
T.reloptions as options,
(select pg_catalog.array_agg(inhparent)::varchar from (select inhparent::bigint from pg_catalog.pg_inherits where T.oid = inhrelid order by inhseqno) as bts) as ancestors,
(select pg_catalog.array_agg(inhrelid)::varchar from (select inhrelid::bigint from pg_catalog.pg_inherits where T.oid = inhparent order by inhrelid) as its) as successors,
T.relispartition /* false */ as is_partition,
pg_catalog.pg_get_partkeydef(T.oid) /* null */ as partition_key,
pg_catalog.pg_get_expr(T.relpartbound, T.oid) /* null */ as partition_expression,
pg_catalog.pg_get_userbyid(T.relowner) as "owner"
from pg_catalog.pg_class T
where relnamespace = ?::oid
and relkind in ('r', 'm', 'v', 'f', 'p')
and pg_catalog.age(T.xmin) <= pg... (show balloon)
12:53 [email protected]
[42703] org.postgresql.util.PSQLException: ERROR: column t.relhasoids does not exist
Position: 135.
Error encountered ... more
解决方案
将数据库工具中的 Option --> Introspect using JDBC metadata
按钮勾上,问题得以解决:
成功显示如下:
参考文献:
边栏推荐
- Oracle RAC configuration multipathing
- How to generate assembly code using clang in Intel syntax- How to generate assembly code with clang in Intel syntax?
- 大智慧开户要选什么证券公司比较好,更安全一点
- Stm32f1 and stm32cubeide programming examples -ws2812b full color LED driver (based on spi+dma)
- Security Analysis on mining trend of dogecoin, a public cloud
- Precautions for using JMeter suite to build a pressure test environment
- QoS Technology in network
- "Industry outlook" analysis of five major trends in China's security video surveillance industry
- Special topic of IM code scanning login Technology (III): easy to understand. A detailed principle of IM code scanning login function is enough
- How to build a high-performance go cache Library
猜你喜欢
高速公路服务区智能一体机解决方案
An accident caused by a MySQL misoperation, and the "high availability" cannot withstand it!
推荐几款超级实用的数据分析利器
Linux记录-4.22 MySQL5.37安装(补充)
List of PostgreSQL
还在担心漏测吗?快来使用jacoco统计下代码覆盖率
Multimeter resistance measurement diagram and precautions
Wide measuring range of jishili electrometer
Wi-Fi 7 来啦,它到底有多强?
Oracle RAC configuration multipathing
随机推荐
QoS Technology in network
Is it safe to open an account in flush? What preparation is needed
时间同步业务的闭环管理——时间监测
大智慧开户要选什么证券公司比较好,更安全一点
Service visibility and observability
熬夜整理出的软件测试【高频】面试题大全(2022最新)
07. Tencent cloud IOT device side learning - Data Template
[log service CLS] initial experience of Tencent cloud CLS log service
Unimelb COMP20008 Note 2019 SM1 - Data formats
The 30 pictures bring the network protocol layer by layer to life. It's really fragrant!
Motion planning of floating base robot
手机注册股票开户 炒股开户安全吗
VNC Viewer方式的远程连接树莓派
Openinstall joins hands with the book chain to help channel data analysis and create the era of Book Networking
Concurrent writing of maps in golang
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
一个简单而功能强大的开发者工具箱Box3.cc
Wi-Fi 7 来啦,它到底有多强?
leetcode. 12 --- integer to Roman numeral
He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points