Support for CloudSQL PostgreSQL on App Engine Standard
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).
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
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.
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
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.