pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SV: SV: Npgsql and the Connection Service File
2+ messages / 1 participants
[nested] [flat]

* SV: SV: Npgsql and the Connection Service File
@ 2021-02-01 09:51  Niels Jespersen <NJN@dst.dk>
  0 siblings, 1 reply; 2+ messages in thread

From: Niels Jespersen @ 2021-02-01 09:51 UTC (permalink / raw)
  To: Laurenz Albe <laurenz.albe@cybertec.at>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

>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
>



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* SV: SV: Npgsql and the Connection Service File
@ 2021-02-04 05:03  Niels Jespersen <NJN@dst.dk>
  parent: Niels Jespersen <NJN@dst.dk>
  0 siblings, 0 replies; 2+ messages in thread

From: Niels Jespersen @ 2021-02-04 05:03 UTC (permalink / raw)
  To: Dave Cramer <davecramer@postgres.rocks>; +Cc: Laurenz Albe <laurenz.albe@cybertec.at>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Fra: Dave Cramer <davecramer@postgres.rocks>

>>> 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
>

Thank you for that. Looking very much forward to it.

Niels
   >


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-02-04 05:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 09:51 SV: SV: Npgsql and the Connection Service File Niels Jespersen <NJN@dst.dk>
2021-02-04 05:03 ` Niels Jespersen <NJN@dst.dk>

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