On Mon, 1 Feb 2021 at 04:51, Niels Jespersen <NJN@dst.dk> wrote:
>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