teoljungberg / fx

Versioned database functions and triggers for Rails
MIT License
763 stars 77 forks source link

use the decorated connection to check server version #36

Closed lastobelus closed 4 years ago

lastobelus commented 5 years ago

otherwise fails on cloud providers not using a standard local postgres socket

maheshm commented 5 years ago

Fixes #37

maheshm commented 5 years ago

Can you check why CI is failing?

teoljungberg commented 5 years ago

They all fail due to the same error.

PG::ConnectionBad:
       could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5433"?
teoljungberg commented 5 years ago

It is fixed with the latest master now.