Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1w76-00032x-NV for pgsql-general@arkaria.postgresql.org; Mon, 17 Sep 2018 16:11:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1w74-0003QR-RP for pgsql-general@arkaria.postgresql.org; Mon, 17 Sep 2018 16:11:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1w6j-0001kR-CR for pgsql-general@lists.postgresql.org; Mon, 17 Sep 2018 16:10:41 +0000 Received: from [2001:41c9:1:41d::10] (helo=srv01.teladesign.ie) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g1w6f-0007dW-NE for pgsql-general@postgresql.org; Mon, 17 Sep 2018 16:10:39 +0000 Received: from [176.12.107.139] (helo=[10.109.19.237]) by srv01.teladesign.ie with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1g1w6Z-0003My-Eh; Mon, 17 Sep 2018 17:10:33 +0100 Reply-To: rod@iol.ie To: vyshu Ysh , info@enricopirozzi.info Cc: pgsql-general References: From: Raymond O'Donnell Message-ID: <483d2816-40e6-e20d-ddbf-ed0151c26eaf@iol.ie> Date: Mon, 17 Sep 2018 17:10:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 176.12.107.139 X-SA-Exim-Mail-From: rod@iol.ie X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on srv01.teladesign.ie X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: postgresql api X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on srv01.teladesign.ie) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:41c9:1:41d::10 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 17/09/18 13:31, vyshu Ysh wrote: > Hi, > > I wanted to query from my c# application. Am using npgsql, is there any > parameter or api ? select * from pg_stat_replication; Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie