Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CloudSQL to PostgreSQL 11 #24

Open
cirocosta opened this issue Apr 10, 2019 · 1 comment
Open

Update CloudSQL to PostgreSQL 11 #24

cirocosta opened this issue Apr 10, 2019 · 1 comment

Comments

@cirocosta
Copy link
Member

Hey,

GCP just got support for PostgreSQL 11 out

https://cloud.google.com/blog/products/databases/enterprise-databases-managed-for-you

We’ve heard you want the latest version, so we are pleased to announce PostgreSQL version 11 support, which includes useful new features like partitioning improvements, stored procedures, and more parallelism.

so we should be able to upgrade hush-house's database to leverage that.

Because all of our IaaS resources are created using terraform, we'd need to update that in our module that brings the DB up:

resource "google_sql_database_instance" "main" {
name = "${var.name}-${random_id.instance-name.hex}"
region = "${var.region}"
database_version = "POSTGRES_9_6"

From https://cloud.google.com/sql/docs/postgres/create-instance#create-2ndgen-curl, it appears that the version should then be specified as POSTGRES_11_1.

Thanks!

@gowrisankar22
Copy link

gowrisankar22 commented Jun 4, 2020

@cirocosta @vito
We are planning to upgrade from cloudsql postgres 9.6 to cloudsql postgres 12 via terraform. Is this recommended/tested ??

Do you have any other suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants