Niclas Lövdahl
Niclas Lövdahl
Thanks Rasmus for answering so fast! I'm using a connection string in `pg` where i pass the host as query param. `postgres://user:password@/database?host=/cloudsql/::` But this connection string generates `TypeError [ERR_INVALID_URL]: Invalid...
The url with random strings if i understood you right? `postgres://user:password@/database?host=/cloudsql/my-project-name:eu-north1:prod` Here is the options and log output of sql.options (with changed credentials) ```js const sql = postgres({ path: '/cloudsql/project-name:europe-north1:prod',...
Finally got it working by changing `path` to `host`. Leaving the example configuration here if anyone else get stuck. ```js const sql = postgres({ host: '/cloudsql/project-name:europe-north1:prod', user: 'user', password: 'password',...