| From: | Niels Jespersen <NJN(at)dst(dot)dk> |
|---|---|
| To: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | SV: SV: Npgsql and the Connection Service File |
| Date: | 2021-02-01 09:51:33 |
| Message-ID: | 23fadfaf1ceb4015b7022ed66bab258a@dst.dk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
>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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jiří Pavlovský | 2021-02-01 10:46:10 | libpq and mysterious "invalid byte sequence for encoding UTF8". |
| Previous Message | Laurenz Albe | 2021-02-01 09:09:04 | Re: SV: Npgsql and the Connection Service File |