libcluster_postgres
libcluster_postgres copied to clipboard
Postgres strategy for libcluster
## Describe the problem The documentation provides no hint about the necessity to supply a valid channel_name (the Pg NOTIFY command requires no dashes and it didn't work with big...
## 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....
Btw, I think you can remove most of this config and simply pass it through to Postgrex, which would then go ahead and validate it. :)
Some cookies may start with a number, which would cause crashes. See failing test. :)
Removes :ssl_opts for postgrex which is now removed after v0.18 postgrex. Adds in :auto_reconnect option for notifications from channel. Performs minor version bump.