libcluster_postgres icon indicating copy to clipboard operation
libcluster_postgres copied to clipboard

Support socket options

Open pulkit110 opened this issue 2 years ago • 0 comments

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

pulkit110 avatar Jan 31 '24 05:01 pulkit110