Hi,
I’m running a PostgreSQL instance on Cloud SQL and recently noticed a lot of errors in the logs coming from the cloudsqladmin user. The errors look like this:
ERROR: function password_validation_get_validation_latencies(reset => boolean) does not exist
STATEMENT: SELECT * FROM password_validation_get_validation_latencies(reset => false)
ERROR: function password_validation_get_login_latencies(reset => boolean) does not exist
STATEMENT: SELECT * FROM password_validation_get_login_latencies(reset => false)
ERROR: function password_validation_get_policy_errors(reset => boolean) does not exist
STATEMENT: SELECT * FROM password_validation_get_policy_errors(reset => false) WHERE reason != 'OK'
ERROR: function password_validation_get_login_errors(reset => boolean) does not exist
STATEMENT: SELECT * FROM password_validation_get_login_errors(reset => false) WHERE reason != 'OK'
Here’s what i found:
- these functions doesn’t appear to be available.
- The queries are being run automatically by the internal
cloudsqladminuser every 30 seconds.
Questions:
-
Should I just ignore these errors, or is there a way to create function for my instance?
-
If this is a Cloud SQL bug (monitoring trying to call missing functions), is there a fix or a way to suppress these log entries?
Instance details:
-
Cloud SQL PostgreSQL (PostgreSQL 14)
-
Region: asia-northeast1-c
Thanks in advance!

