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

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

From: Niels Jespersen @ 2021-01-29 14:13 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Hello all

Is there a way to get Npgsql understand the Connection Service File (https://www.postgresql.org/docs/13/libpq-pgservice.html). ?

The purpose is to abstract physical details such as hostname, portnumber away from the application.

Regards Niels Jespersen

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

* Re: Npgsql and the Connection Service File
@ 2021-01-29 19:14  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Niels Jespersen <NJN@dst.dk>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2021-01-29 19:14 UTC (permalink / raw)
  To: Niels Jespersen <NJN@dst.dk>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

On Fri, 2021-01-29 at 14:13 +0000, Niels Jespersen wrote:
> Is there a way to get Npgsql understand the Connection Service File (https://www.postgresql.org/docs/13/libpq-pgservice.html). ?
> 
> The purpose is to abstract physical details such as hostname, portnumber away from the application.

No, the service file is part of libpq, and Npgsql doesn't use that.

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






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


end of thread, other threads:[~2021-01-29 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 14:13 Npgsql and the Connection Service File Niels Jespersen <NJN@dst.dk>
2021-01-29 19:14 ` Laurenz Albe <laurenz.albe@cybertec.at>

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