当前位置:网站首页>Database tools in intelij can connect but cannot display schema, tables
Database tools in intelij can connect but cannot display schema, tables
2022-06-24 15:38:00 【Exclusive rainy days】
Problem description : In the use of Postgres In the process of database , The database shows that the connection was successful , Using a third-party database connection is also normal , however stay Intelij Self contained DataGrip The tool cannot display normally Schema and Tables Information .
Use software :
- Intelij Version is 2019.3
- Docker Version of Postgres 12
Problem description
Every time you click the update database button , Unable to refresh out of database Tables.

also Log The console shows the following error :
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
Solution
In the database tool Option --> Introspect using JDBC metadata Button tick , Problem solved :

The successful display is as follows :

reference :
边栏推荐
- [parameter configuration tutorial] how should the parameters in the RTMP streaming camera be configured?
- 【Prometheus】5. Alertmanager alarm (incomplete)
- MongoDB入门实战教程:学习总结目录
- Design of vga/lcd display controller system based on FPGA (Part 2)
- How to generate assembly code using clang in Intel syntax- How to generate assembly code with clang in Intel syntax?
- Multimeter resistance measurement diagram and precautions
- Attacked! Cloud development monitoring alarm practice
- Teach you how to deploy the pressure test engine on Tencent cloud
- Step by step introduction to sqlsugar based development framework (9) -- Realizing field permission control with WinForm control
- clang: warning: argument unused during compilation: ‘-no-pie‘ [-Wunused-command-line-argument]
猜你喜欢
Bitmap of redis data structure

如何扩展aws主机上的磁盘空间
An accident caused by a MySQL misoperation, and the "high availability" cannot withstand it!

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

【我的OpenGL学习进阶之旅】OpenGL的坐标系的学习笔记

设备通过国标GB28181接入EasyCVR平台,出现断流情况该如何解决?

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

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

Wide measuring range of jishili electrometer

Wi-Fi 7 来啦,它到底有多强?
随机推荐
【Prometheus】6. Prometheus and kubernetes (incomplete)
Why is the blackmail virus that shut down half of America's energy system terrible? Interpretation of authoritative reports
Kubernetes practical tips: using ksniff to capture packets
CVPR 2022 - Interpretation of selected papers of meituan technical team
为什么企业实施WMS仓储管理系统很容易失败
At? Let's blow the air conditioner together!
推荐几款超级实用的数据分析利器
【Prometheus】5. Alertmanager alarm (incomplete)
A simple and powerful developer toolkit box3 cc
How about stock online account opening and account opening process? Is it safe to open an account online?
Cvpr2022 𞓜 thin domain adaptation
Wide measuring range of jishili electrometer
Use tuples
Fine! Huawei firewall dual computer hot standby Technology: HRP, vgmp, VRRP
Closed loop management of time synchronization service -- time monitoring
Multimeter resistance measurement diagram and precautions
Cloud + community [play with Tencent cloud] essay solicitation activity winners announced
Step by step introduction to sqlsugar based development framework (9) -- Realizing field permission control with WinForm control
期货公司开户安全吗
PHP application container deployment practice