hush-house icon indicating copy to clipboard operation
hush-house copied to clipboard

Update CloudSQL to PostgreSQL 11

Open cirocosta opened this issue 5 years ago • 1 comments

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:

https://github.com/concourse/hush-house/blob/d2fefbe7aaef68f8aff4670be84adf98c5f26dc6/terraform/database/main.tf#L5-L8

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!

cirocosta avatar Apr 10 '19 18:04 cirocosta

@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?

gowrisankar22 avatar Jun 04 '20 16:06 gowrisankar22