sails: sails-postgres doesn't work with unix socket connections
DB adapter & version: sails-postgres@
Unless I’m missing something obvious, sails-postgres won’t work with PostgreSQL unix socket connections.
This seems to be a direct result of the conversion from separate datastore config values to a connectionString performed in sails-postgresql/helpers/register-data-store.js.
I will look into this further and hopefully provide a patch shortly.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 25 (3 by maintainers)
Commits related to this issue
- Handle socket connections — committed to derniercri/machinepack-postgresql by Jean-Serge 5 years ago
- Handle socket connections — committed to derniercri/sails-postgresql by Jean-Serge 5 years ago
two years now 😃
For the brave and desperate:
I’ll try to wrap this in a couple of PRs soonish.