>On Sat, 2021-01-30 at 15:56 +0000, Niels Jespersen wrote: >> It would be nice if Npgsql (and jdbc and others) emulated the libpq behaviour. >> Because in my mind, abstracting hostname, portnumber and databasename >> away is a really useful feature. >> >> How do others manage this? > >Either they don't or they write their own class that does that. > >Perhaps you should contact Npgsql and suggest such a feature. > Yes, thank you. I did just that. It turns out there is already an existing pull request with exactly that feature. I hope for it to be included in a release soon. Regards Niels Jespersen >Yours, >Laurenz Albe >-- >Cybertec | https://www.cybertec-postgresql.com >