Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud SQL Postgress - current user cannot be dropped after database maintenance

After an automatic maintenance today, our Cloud SQL Postgress 15.7 database is throwing an error in logs every 15 minutes.

This is the sequence that triggers the error:

db=cloudsqladmin,user=cloudsqladmin LOG: statement: DROP ROLE "cloudsqladmin"

db=cloudsqladmin,user=cloudsqladmin ERROR: current user cannot be dropped

Any clue what might be happening? The statement is not executed by any application but internally by Google Cloud.

Thanks!

2 3 428
3 REPLIES 3

I'm encountering the same issue but in a pgsql 16.3 version instance. Did you find a cause or solution?

Finally this was solved via Google Cloud support, as it was caused by a scheduled maintenance done by them.
I didn't get any details of what they fixed, so I can't share more information about it.

We are seeing the same errors. However we only have basic support so cannot raise an issue.

Perhaps this is not causing problems but does anyone have any idea what we can do to resolve it?