[ADMIN] Getting master host info from a slave

2012-02-02 Thread Mario Splivalo
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 -- Sent via pgsql-admin mailing list

Re: [ADMIN] Getting master host info from a slave

2012-02-02 Thread Guillaume Lelarge
On Thu, 2012-02-02 at 15:40 +0100, Mario Splivalo wrote: > 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 "