libcluster_postgres
libcluster_postgres copied to clipboard
Support socket options
What kind of change does this PR introduce?
Adds support for socket_options when initializing Postgrex. This is required if the database is accessed through a IPV6 instead of IPV4.
What is the current behavior?
It is not possible to connect to IPV6 databases through libcluster_postgres.
What is the new behavior?
It is now possible to specify socket_options: [:inet6] inside the postgres config to connect to IPV6 database.
Additional context
NA