GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Documentation
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine

This view

  • Original page
  • New address

GeezerVison is showing docs.cloud.google.com — Cloud SQL for Postgre⁠SQL documentation | Cloud SQL for PostgreSQL | Google Cloud Documentation

Cloud SQL for Postgre⁠SQL documentation

Read product documentation

Cloud SQL for PostgreSQL is a fully-managed database service that helps you set up, maintain, manage, and administer your PostgreSQL relational databases on Google Cloud Platform.

Learn more

Get started for free

Start your proof of concept with $300 in free credit

  • Develop with our latest Generative AI models and tools.
  • Get free usage of 20+ popular products, including Compute Engine and AI APIs.
  • No automatic charges, no commitment.
View free product offers

Keep exploring with 20+ always-free products.

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

format_list_numbered

Guides

  • Create instances

  • Connection overview

  • Enable and disable high availability on an instance

  • Create and manage PostgreSQL databases

  • Create and manage PostgreSQL users

  • Export and import using pg_dump, pg_dumpall, and pg_restore

  • Export and import using CSV files

  • Create backups

  • Create read replicas

  • Build generative AI applications using Cloud SQL

find_in_page

Reference

  • Client libraries and sample code for Cloud SQL

  • gcloud sql command-line

  • Use the Cloud SQL Admin API

  • REST API

  • Best practices

  • Performance tips

  • Authorize requests

  • Configure VPC Service Controls

  • Cloud SQL Admin API error messages

info

Resources

  • Pricing

  • Quotas and limits

  • Troubleshoot

  • Cloud SQL feature support by database engine

  • Release notes

  • Billing questions

  • Getting support

  • Security bulletins

Tutorial
Training and tutorials

Using Cloud SQL for PostgreSQL with Ruby on Rails 5

Learn how to connect a Ruby on Rails 5 app to Cloud SQL for PostgreSQL.

Tutorial
Training and tutorials

Connecting to Cloud SQL with Cloud Functions

Learn how to connect to Cloud SQL from Cloud Functions.

Use case
Use cases

Deploying Pega using Compute Engine and Cloud SQL

Learn how to deploy Pega Platform, which is a business process management and customer relationship management (CRM) platform with Cloud SQL for PostgreSQL.

CRM Reference architecture

Use case
Use cases

Production launch checklist

This checklist provides recommended activities to complete for launching a commercial application that uses Cloud SQL. This checklist focuses on Cloud SQL-specific activities.

Production Launch

Primer
Use cases

Data residency overview

Learn how to use Cloud SQL to enforce data residency requirements for data.

Data residency data

Primer
Use cases

Use Secret Manager to handle secrets in Cloud SQL

Learn how to use Secret Manager to store sensitive information about Cloud SQL instances and users as secrets.

Secret Manager secret

Code sample
Code Samples

Python SQLAlchemy

Use SQLAlchemy with your Cloud SQL for PostgreSQL database

Code sample
Code Samples

Node.js sample

Connecting to your Cloud SQL for PostgreSQL database in Node.js

Code sample
Code Samples

PHP PDO

Connecting your Cloud SQL for PostgreSQL database using PHP PDO

Code sample
Code Samples

Go web app sample

Simple examples of connecting to Cloud SQL for PostgreSQL using Go

Code sample
Code Samples

.NET sample

This sample application demonstrates how to store data in Google Cloud SQL with a PostgreSQL database when running in Google App Engine Flexible Environment.

Code sample
Code Samples

Terraform for Cloud SQL networking

Use Terraform to create Cloud SQL for PostgreSQL instances with private networking options.

Code sample
Code Samples

Java servlet

Connecting to Cloud SQL for PostgreSQL from a Java application

Related videos

Try Cloud SQL for yourself

Create an account to evaluate how our products perform in real-world scenarios.
New customers also get $300 in free credits to run, test, and deploy workloads.
Try Cloud SQL free

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 2026-11-12 UTC.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.