Replication

From: Bertrand Paquet <bertrand(dot)paquet(at)doctolib(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Replication
Date: 2016-06-02 13:32:32
Message-ID: CAN1xZseiqNRh1ZE0seVk7UuHeWvFBEWG+FcW7Xfm_Nv=d+fPGw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On an hot standby streaming server, is there any way to know, in SQL, to
know the ip of current master ?
The solution I have is to read the recovery.conf file to find
primary_conninfo, but, it can be false.

Regards,

Bertrand

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-06-02 13:44:09 Re: PL/PGSQL + inserts+updates+limit - Postgres 9.3
Previous Message Dmitry Igrishin 2016-06-02 06:14:46 RowDescription via the SQL?