From: Niels Jespersen <NJN@dst.dk>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: SV: SV: Npgsql and the Connection Service File
Date: Mon, 1 Feb 2021 09:51:33 +0000
Message-ID: <23fadfaf1ceb4015b7022ed66bab258a@dst.dk> (raw)
In-Reply-To: <a3c5a11f71e5200f6779bb6b863426ea911f120c.camel@cybertec.at>
References: <d601998b52b34d1caaa7dcf58613ae00@dst.dk>
<cfcf6125d3d3bf21f7dacfa8718d05ef37971013.camel@cybertec.at>
<8c4a611e414844329eda224911871786@dst.dk>
<a3c5a11f71e5200f6779bb6b863426ea911f120c.camel@cybertec.at>
>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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: NJN@dst.dk, laurenz.albe@cybertec.at
Subject: Re: Npgsql and the Connection Service File
In-Reply-To: <23fadfaf1ceb4015b7022ed66bab258a@dst.dk>
References: <d601998b52b34d1caaa7dcf58613ae00@dst.dk> <cfcf6125d3d3bf21f7dacfa8718d05ef37971013.camel@cybertec.at> <8c4a611e414844329eda224911871786@dst.dk> <a3c5a11f71e5200f6779bb6b863426ea911f120c.camel@cybertec.at> <23fadfaf1ceb4015b7022ed66bab258a@dst.dk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox