databases
databases copied to clipboard
Unable to use multiple host DSN
A valid DSN with two hosts eg: postgresql://user:password@host1:port1,host2:port2/db?... which is a valid postgres DSN format (https://www.postgresql.org/docs/10/libpq-connect.html) cannot be used with databases because of urlsplit parsing exception for port.
Pure asyncpg works just fine with this type of urls