postgresql - DataGrip 无法识别 PostgreSQL 数据类型

标签 postgresql datagrip

我已将 DataGrip 数据库项目设置为使用最新的 PostgreSQL 方言和驱动程序,但它本身无法理解 PostgreSQL 数据类型。例如,它会自动补全 varchar,但不会自动补全 text

https://www.postgresql.org/docs/10/static/datatype.html

难道它就没有这个能力吗?

编辑:另一个例子是表的“生成 DDL”将创建一个带有 uuid(max) 的语句,而不是简单的 uuid

最佳答案

https://www.jetbrains.com/help/datagrip/data-sources-and-drivers-dialog.html#optionsTab

解决方案是禁用“使用 JDBC 元数据进行内省(introspection)”。感谢@num8er 的帮助。

关于postgresql - DataGrip 无法识别 PostgreSQL 数据类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50081560/

相关文章:

sql-server - 如何在DataGrip中设置SQL Server身份验证方法?

attributes - 如何在 JetBrains DataGrip 中复制选择查询字段名称

sql - 无法使用 Datagrip 提交对表的更改

python - 每次我重新连接到 MySQL 数据库时,所有表都是空的

amazon-redshift - 检索 Redshift 错误消息

mysql - 什么查询更快 : one update with multiple sets or multiple updates with one set?

Heroku 上的 Java Spring MVC 错误 : Unable to access jarfile target/dependency/webapp-runner. jar

linux - 如何在 postgres 数据库上安装 pgcrypto 模块

sql - 如何获得最大的名字?数据库

mysql - all方法未定义时如何查询所有记录?