Symptom
Since Jira 8.4.0 having support for Aurora, Jira is causing errors on database logging side for AURORA_VERSION() check every hour.
This does not have an impact on the application but can fill database logging if the database is not Postgres Aurora on AWS.
Steps to reproduce
- Install Jira 8.4+
- Use any database that is not Postgres Aurora
- Check logging on database side.
Expected results
No logging about Aurora
Actual results
Error -
ERROR: function aurora_version() does not exist at character 8
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
or
'AURORA_VERSION' is not a recognized built-in function name
This is thrown by SQL that is run every hour -
select AURORA_VERSION() as aurora_version;
Workaround
none at this time, the error message can be ignored.
Suppression can only be done on database side for now.