Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.3 使用postgresql 14数据库,新增配置报 org.postgresql.util.PSQLException: 错误: 函数 now(integer) 不存在 #57

Open
liuzhiteng opened this issue Oct 23, 2024 · 3 comments

Comments

@liuzhiteng
Copy link

No description provided.

@wangmaogang
Copy link

我也遇到了

@wangmaogang
Copy link

已解决

@hucongwei
Copy link

遇到同样的问题,没看到解决方案,考虑降级到2.2版本的nacos

./config-fatal.log:2024-12-13 08:28:33,961 ERROR [db-error] try to update or add config failed, PreparedStatementCallback; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: function now(integer) does not exist
./config-fatal.log:2024-12-13 08:35:47,829 ERROR [db-error] try to update or add config failed, PreparedStatementCallback; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: function now(integer) does not exist
./config-server.log:2024-12-13 00:04:02,832 ERROR An error occurred while executing method [removeConfigHistory].
./config-server.log:org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [DELETE FROM his_config_info WHERE gmt_modified < ? LIMIT ?]; nested exception is org.postgresql.util.PSQLException: ERROR: syntax error at or near "LIMIT"
./config-server.log:Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "LIMIT"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants