Hi,
Have you tried to query the pg_stat_replication?
Enrico
Il lun 17 set 2018, 11:52 vyshu Ysh <sudha(dot)2114(at)gmail(dot)com> ha scritto:
> Hi Team,
>
> Is there any postgresql API which tells when the master/standby server is
> down ?
>
> Thanks,
> Sudha
>