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

成功显示如下:

参考文献:
边栏推荐
- Bosun query
- Openinstall joins hands with the book chain to help channel data analysis and create the era of Book Networking
- Attacked! Cloud development monitoring alarm practice
- Is it safe for futures companies to open accounts
- A simple and powerful developer toolkit box3 cc
- Multimeter resistance measurement diagram and precautions
- When installing Wireshark, npcap cannot be installed successfully. It is recommended to use WinPcap first
- leetcode. 12 --- integer to Roman numeral
- The cold winter can't stop the determination to enter the big factory. The Android interview has a complete knowledge structure, and everything you need to master in the interview is here!
- 时间同步业务的闭环管理——时间监测
猜你喜欢

Wide measuring range of jishili electrometer

国产最长寿的热销手机,苹果也不是对手,总算让国产手机找回面子

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

FreeRTOS新建任务不执行问题解决办法

A brief introduction to the lexical analysis of PostgreSQL
Bitmap of redis data structure

国产芯片的赶超,让美国手机芯片龙头高通害怕了,出招应对竞争

As a developer, what is the most influential book for you?

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

Left hand code, right hand open source, part of the open source road
随机推荐
【我的OpenGL学习进阶之旅】OpenGL的坐标系的学习笔记
Oracle RAC configuration multipathing
Use dictionary
Record the range of data that MySQL update will lock
Ethical considerations
在Gradle 中对Junit5 测试框架引用
Do you really know the difference between H5 and applet?
实战 | 记一次曲折的钓鱼溯源反制
Motion planning of floating base robot
At? Let's blow the air conditioner together!
时间同步业务的闭环管理——时间监测
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
Cloud + community [play with Tencent cloud] essay solicitation activity winners announced
Design of vga/lcd display controller system based on FPGA (Part 2)
Network engineers must know the network essence knowledge!
Cvpr2022 𞓜 thin domain adaptation
【Kubernetes】1
openinstall携手书链:助力渠道数据分析,共创书联网时代
CIA security model - use PGP to describe privacy and integrity of network security CIA model
A simple and powerful developer toolkit box3 cc