cpursley / walex

Postgres change events (CDC) in Elixir
MIT License
276 stars 14 forks source link

feat: pass socket_options to Postgrex #53

Closed oortlieb closed 4 months ago

oortlieb commented 4 months ago

I've deployed a system using WalEx to fly.io. I can only connect to the postgres database over IPv6, which required this change. Wanted to offer it back -- thanks for the library!

In general, it could make sense to accept all of the Postgrex configuration options as part of the WalEx config, but this is all I needed and I didn't want to over-complicate things.

cpursley commented 4 months ago

Thank you, can you remove the IO.inspect call?

oortlieb commented 4 months ago

I removed the IO.inspect and fixed the failing test.