Starts an interactive PostgreSQL shell against my-db as the postgres user, using the Cloud SQL Auth Proxy under the hood so no public IP or manual SSL setup is needed. Exit with \q. If the psql client is missing, gcloud prompts to install it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.