appengine icon indicating copy to clipboard operation
appengine copied to clipboard

Support for CloudSQL PostgreSQL on App Engine Standard

Open andybons opened this issue 7 years ago • 4 comments

Currently I’m using @broady’s https://github.com/broady/gae-postgres package, but it’s unclear whether it will break in the future since CloudSQL Postgres is not officially supported on App Engine Standard for Go (though to be honest I can’t find any documentation that states this).

andybons avatar Jun 24 '18 03:06 andybons

ref: https://issuetracker.google.com/issues/67081578 ref: https://issuetracker.google.com/issues/35897413

From Google Cloud Support team:

Please take note though, that Our App Engine Engineering Team is aware of this feature request and they are currently investigating it but with no ETA at this time

mattes avatar Aug 16 '18 05:08 mattes

I can confirm that Postgres will be supported in our next release of Go on App Engine (Go 1.11), using any standard Posgres sql driver.

sbuss avatar Sep 04 '18 21:09 sbuss

1.11 beta is released, postgres should just work™️ now, using the Unix socket: /cloudsql/

Woohoo!

It looks like we don't have samples/docs for this feature yet, though

broady avatar Oct 17 '18 18:10 broady

Still can't find any documentation wrt to this and the go runtime. Is this meant to be working? I can find sample code for the docs in the following languages: Python,Java,Node.js,C#, Ruby but no Go.

gugahoi avatar Dec 24 '19 01:12 gugahoi