databases icon indicating copy to clipboard operation
databases copied to clipboard

Unable to use multiple host DSN

Open funkindy opened this issue 3 years ago • 0 comments

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

funkindy avatar Feb 12 '22 17:02 funkindy