nacos-group / nacos-plugin

A collection of Nacos plug-ins, providing Nacos with pluggable plug-in capabilities, support for user customization and high scalability
Apache License 2.0
103 stars 73 forks source link

posgresql插件问题 #48

Open chenyuanyu-king opened 2 months ago

chenyuanyu-king commented 2 months ago

nacos-server:2.4.0.1

在postgresql-database扩展中,由于com.alibaba.nacos.plugin.datasource.impl.base.BaseConfigInfoMapper直接继承com.alibaba.nacos.plugin.datasource.impl.mysql.ConfigInfoMapperByMySql类,导致其中函数getFunction解析NOW()参数异常,导致无法新增配置

image

需重写getFunction方法

youyinnn commented 2 months ago

+1

image
youyinnn commented 2 months ago

+1

image

暂时把版本切到2.3.2了 可以打包 所以需要支持2.4.x

dreamZhf commented 2 months ago

+1

image

暂时把版本切到2.3.2了 可以打包 所以需要支持2.4.x

可以使用 https://github.com/dreamZhf/nacos-plugin 维护的版本,通过 fork 官方项目修改的