Re: postgresql api - Mailing list pgsql-general

From vyshu Ysh
Subject Re: postgresql api
Date
Msg-id CAPw9ixeApry06ztMnSdnKuFxuFGSLfHtozEd4LfGy23AGr7L+Q@mail.gmail.com
Whole thread Raw
In response to Re: postgresql api  (Enrico Pirozzi <sscotty71@gmail.com>)
Responses Re: postgresql api  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
Hi,

I wanted to query from my c# application. Am using npgsql, is there any parameter or api ? 

On Mon, 17 Sep 2018, 5:22 pm Enrico Pirozzi, <sscotty71@gmail.com> wrote:
Hi, 
Have you tried to query the pg_stat_replication?

Enrico

Il lun 17 set 2018, 11:52 vyshu Ysh <sudha.2114@gmail.com> ha scritto:
Hi Team,

Is there any postgresql API which tells when the master/standby server is down ?

Thanks,
Sudha

pgsql-general by date:

Previous
From: Enrico Pirozzi
Date:
Subject: Re: postgresql api
Next
From: Nicola Contu
Date:
Subject: Pgbouncer and postgres