pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Npgsql and the Connection Service File
Date: Sat, 30 Jan 2021 15:56:18 +0000
Message-ID: <8c4a611e414844329eda224911871786@dst.dk> (raw)
In-Reply-To: <cfcf6125d3d3bf21f7dacfa8718d05ef37971013.camel@cybertec.at>
References: <d601998b52b34d1caaa7dcf58613ae00@dst.dk>
	<cfcf6125d3d3bf21f7dacfa8718d05ef37971013.camel@cybertec.at>

>
>
>-----Oprindelig meddelelse-----
>Fra: Laurenz Albe <laurenz.albe@cybertec.at> 
>Sendt: 29. januar 2021 20:14
>Til: Niels Jespersen <NJN@dst.dk>; pgsql-general@lists.postgresql.org
>Emne: Re: Npgsql and the Connection Service File
>
>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.
>
Yes. Thank you for clarifying. 

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? 

Regards Niels Jespersen

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


view thread (3+ messages)  latest in thread

Message-ID: <8c4a611e414844329eda224911871786@dst.dk>
Permalink:  ../8c4a611e414844329eda224911871786@dst.dk/
Also on:    postgresql.org/message-id/8c4a611e414844329eda224911871786@dst.dk

 · 

reply

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: <8c4a611e414844329eda224911871786@dst.dk>
  References: <d601998b52b34d1caaa7dcf58613ae00@dst.dk> <cfcf6125d3d3bf21f7dacfa8718d05ef37971013.camel@cybertec.at> <8c4a611e414844329eda224911871786@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