You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you need to build a unix socket, but want to use the Avram::Credentials object, it's a bit messy. I think we can make this easier to work with.
Here's an example of how to connect with a unix socket
# this ENV must be set otherwise it defaults to the current user's name on the system
# export PGDATABASE=my_db_development
Avram::Credentials.parse("postgresql:///my_db_development?host=/var/lib/postgresql/.s.PGSQL.5432&dbname=my_db_development")
I think you can also set a username and password using
If you need to build a unix socket, but want to use the
Avram::Credentials
object, it's a bit messy. I think we can make this easier to work with.Here's an example of how to connect with a unix socket
I think you can also set a username and password using
We would just need to make sure these methods account for the change
avram/src/avram/migrator/runner.cr
Lines 49 to 59 in f5b000c
Related: #776
The text was updated successfully, but these errors were encountered: