Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5UWr-0002Tt-9E for pgsql-general@arkaria.postgresql.org; Fri, 29 Jan 2021 14:13:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l5UWq-0007db-7g for pgsql-general@arkaria.postgresql.org; Fri, 29 Jan 2021 14:13:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5UWp-0007dT-Oz for pgsql-general@lists.postgresql.org; Fri, 29 Jan 2021 14:13:39 +0000 Received: from srvimsva2.dst.dk ([91.208.143.64]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5UWm-0005de-Qm for pgsql-general@lists.postgresql.org; Fri, 29 Jan 2021 14:13:39 +0000 Received: from srvimsva2.dst.dk (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C9120104076 for ; Fri, 29 Jan 2021 15:13:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dst.dk; s=dmz20180119; t=1611929614; bh=tgdeH3+tcn7UjjX6jQP2M99fkzyGuNYESSev/Bs9nzs=; h=From:To:Date; b=E8jRmmEEZfgO9NxTvASw8kNVRGr4lMN3yetvfdAB6PkwvuUvl0kr/PtPtkLKz7bHe BGDQHdYY/HLrOlNUgJPomCuyBzV++qH05LsP8Kx0sb4jLnbosTzNfSQc2RxXQULaEw isNvumAe89+ZivqFcKkOsSG+6LoV8A3v5729wwU4= Received: from srvimsva2.dst.dk (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BCE3A104075 for ; Fri, 29 Jan 2021 15:13:34 +0100 (CET) Received: from Sepo.dst.dk (unknown [192.168.64.12]) by srvimsva2.dst.dk (Postfix) with ESMTP for ; Fri, 29 Jan 2021 15:13:34 +0100 (CET) Received: from srvexc8.dst.local ([172.30.32.48]) by Sepo.dst.dk (JAMES SMTP Server 2.3.2-1) with SMTP ID 375 for ; Fri, 29 Jan 2021 15:13:34 +0100 (CET) Received: from srvexc8.dst.local (172.30.32.48) by srvexc8.dst.local (172.30.32.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 29 Jan 2021 15:13:34 +0100 Received: from srvexc8.dst.local ([fe80::9df8:5de5:1bf2:8b3b]) by srvexc8.dst.local ([fe80::9df8:5de5:1bf2:8b3b%2]) with mapi id 15.01.2106.002; Fri, 29 Jan 2021 15:13:34 +0100 From: Niels Jespersen To: "pgsql-general@lists.postgresql.org" Subject: Npgsql and the Connection Service File Thread-Topic: Npgsql and the Connection Service File Thread-Index: Adb2SCcm8KLY5qp/Tp+2CPKol23BaA== Date: Fri, 29 Jan 2021 14:13:34 +0000 Message-ID: Accept-Language: da-DK, en-US Content-Language: da-DK X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.33.38] Content-Type: multipart/alternative; boundary="_000_d601998b52b34d1caaa7dcf58613ae00dstdk_" MIME-Version: 1.0 X-TM-AS-GCONF: 00 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_d601998b52b34d1caaa7dcf58613ae00dstdk_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 aw= ay from the application. Regards Niels Jespersen --_000_d601998b52b34d1caaa7dcf58613ae00dstdk_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 hos= tname, portnumber away from the application.

 

Regards Niels Jespersen

--_000_d601998b52b34d1caaa7dcf58613ae00dstdk_--