A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/sql/docs/postgres/known-issues below:

Known issues | Cloud SQL for PostgreSQL

Known issues

Stay organized with collections Save and categorize content based on your preferences.

This page lists known issues with Cloud SQL for PostgreSQL, along with ways you can avoid or recover from these issues.

If you are experiencing issues with your instance, make sure you also review the information in

Diagnosing Issues

.

Instance connection issues Administrative issues Issues with importing and exporting data Transaction logs and disk growth

Logs are purged once daily, not continuously. When the number of days of log retention is configured to be the same as the number of backups, a day of logging might be lost, depending on when the backup occurs. For example, setting log retention to seven days and backup retention to seven backups means that between six and seven days of logs will be retained.

We recommend setting the number of backups to at least one more than the days of log retention to guarantee a minimum of specified days of log retention.

Note: Replica instances see a storage increase when replication is suspended and then resumed later. The increase is caused when the primary instance sends the replica the transaction logs for the period of time when replication was suspended. The transaction logs updates the replica to the current state of the primary instance. Issues related to Cloud Monitoring or Cloud Logging

Instances with the following region names are displayed incorrectly in certain contexts, as follows:

This issue occurs in the following contexts:

You can mitigate the issue for Alerting in Cloud Monitoring, and for Metrics Explorer, by using Resource metadata labels. Use the system metadata label region instead of the cloudsql_database monitored resource label region.

When you delete a database created in Google Cloud console using your psql client, you may encounter the following error:

ERROR: must be owner of database [DATABASE_NAME]

This is a permission error since the owner of a database created using a psql client doesn't have Cloud SQL superuser attributes. Databases created using the Google Cloud console are owned by cloudsqlsuperuser and databases created using a psql client are owned by users connected to that database. Since Cloud SQL is a managed service, customers cannot create or have access to users with superuser attributes. For more information, see Superuser restrictions and privileges.

Due to this limitation, databases created using the Google Cloud console can only be deleted using the Google Cloud console, and databases created using a psql client can only be deleted by connecting as the owner of the database.

To find the owner of a database, use the following command:

SELECT d.datname as Name,
pg_catalog.pg_get_userbyid(d.datdba) as Owner
FROM pg_catalog.pg_database d
WHERE d.datname = 'DATABASE_NAME';

Replace the following:

If the owner of your database is cloudsqlsuperuser, then use Google Cloud console to delete your database. If the owner of the database is a psql client database user, then connect as the database owner and run the DROP DATABASE command.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-14 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4