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. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com