当前位置:网站首页>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 按钮勾上,问题得以解决:

成功显示如下:

参考文献:
边栏推荐
- Phpcms upgrade editor method -- simple and effective
- "Industry foresight" future development trend of intelligent security monitoring industry
- Istio Troubleshooting: using istio to reserve ports causes pod startup failure
- 国产最长寿的热销手机,苹果也不是对手,总算让国产手机找回面子
- When installing Wireshark, npcap cannot be installed successfully. It is recommended to use WinPcap first
- Analysis of similarities and differences between redis and memcached in cache use
- Special topic of IM code scanning login Technology (III): easy to understand. A detailed principle of IM code scanning login function is enough
- CVPR 2022 - Interpretation of selected papers of meituan technical team
- Domestic payment system and payment background construction
- The 30 pictures bring the network protocol layer by layer to life. It's really fragrant!
猜你喜欢
Bitmap of redis data structure

VNC Viewer方式的远程连接树莓派

Wide measuring range of jishili electrometer

熬夜整理出的软件测试【高频】面试题大全(2022最新)

还在担心漏测吗?快来使用jacoco统计下代码覆盖率

运营商5G用户渗透远远比4G慢,5G的普及还得看中国广电

高速公路服务区智能一体机解决方案

Linux记录-4.22 MySQL5.37安装(补充)

How to generate assembly code using clang in Intel syntax- How to generate assembly code with clang in Intel syntax?

FreeRTOS新建任务不执行问题解决办法
随机推荐
MySQL replication series 6- tables related to replication information
Task priority motion planning of floating base
At? Let's blow the air conditioner together!
How to efficiently transfer enterprise business data?
安防市场进入万亿时代,安防B2B网上商城系统精准对接深化企业发展路径
golang中Map的并发写入
Improving the classification of motor imagery by combining EEG and MEG signals in BCI
设备通过国标GB28181接入EasyCVR平台,出现断流情况该如何解决?
Why is the blackmail virus that shut down half of America's energy system terrible? Interpretation of authoritative reports
Which securities company is better and safer for great wisdom to choose when opening an account
Istio practical skill: enable accesslog locally
FPGA based analog I ² C protocol system design (Part I)
Is it safe to open an account for flush stock on mobile phone!
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
Wide measuring range of jishili electrometer
Record the range of data that MySQL update will lock
leetcode 139. Word break word split (medium)
CIA security model - use PGP to describe privacy and integrity of network security CIA model
Es search content top
【Kubernetes】1