From: Mario Splivalo <mario.splivalo@megafon.hr>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Getting master host info from a slave
Date: Thu, 02 Feb 2012 15:40:06 +0100
Message-ID: <4F2AA046.7010402@megafon.hr> (raw)
How can I get the master server host data from a running slave, without
reading recovery.conf file?
I've tried with SHOW, but that just gives me:
postgres=# show primary_conninfo;
ERROR: unrecognized configuration parameter "primary_conninfo"
Mario
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: mario.splivalo@megafon.hr
Subject: Re: Getting master host info from a slave
In-Reply-To: <4F2AA046.7010402@megafon.hr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox