Re: SV: Npgsql and the Connection Service File - Mailing list pgsql-general

From Dave Cramer
Subject Re: SV: Npgsql and the Connection Service File
Date
Msg-id CADK3HHKHLTs4bkvW+UoUzCUoO36y=m7VRiGd=XvLFU7yeeQbAA@mail.gmail.com
Whole thread Raw
In response to SV: SV: Npgsql and the Connection Service File  (Niels Jespersen <NJN@dst.dk>)
Responses SV: SV: Npgsql and the Connection Service File
List pgsql-general



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


Ya, I intend to push one in sooner than later.

Dave
 
>Yours,
>Laurenz Albe
>--
>Cybertec | https://www.cybertec-postgresql.com
>

pgsql-general by date:

Previous
From: Marco Lechner
Date:
Subject: Tool for migrating Gupta SQLBase to PostgreSQL
Next
From: Simon Windsor
Date:
Subject: Database upgrade Pg11 to Pg12 issues