语言支持问题

已回答

我使用的产品是DataGrip, 数据库是Open Gauss,在使用的过程中,数据类型不能完善的支持,NVARCHAR类型会有报错提示
Open Gauss是华为基于PostgreSQL一个开源版本进行深度定制开发的数据库,其中为了满足中文字符串的问题,以及方便其他数据库的迁移,添加了NVARCHAR类型,但是使用DataGrip链接Open Gauss数据库时并不能完善的支持,不管是使用Open Gauss提供的驱动还是PostgreSQL提供的驱动。

0

Hi Luoqi9421,

The product I’m using is DataGrip, and the database is openGauss. During use, I found that some data types are not fully supported. Specifically, the NVARCHAR type triggers error messages.

openGauss is an open-source database developed by Huawei based on PostgreSQL with extensive customizations. To better handle Chinese strings and facilitate migration from other databases, it introduced the NVARCHAR data type. However, when connecting to an openGauss database using DataGrip, this type is not fully supported—regardless of whether I use the driver provided by openGauss or the PostgreSQL driver.

We currently don't provide complete or basic support for openGauss and GaussDB (see DBE-21544), and there are no plans to support them at the moment. 

Are you seeing NVARCHAR highlighted incorrectly, or is it something else? In the meantime, you can try switching the SQL Dialect to Generic SQL.

0

请先登录再写评论。