sails-postgres doesn't work with unix socket connections
Author: alxndrsnCreated Nov 7, 2019Updated Nov 8, 2025
Labelsormpostgresql
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.
Source: balderdashy/sails