Re: Getting master host info from a slave

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Getting master host info from a slave
Дата
Msg-id 1328253032.2186.1.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Getting master host info from a slave  (Mario Splivalo <mario.splivalo@megafon.hr>)
Список pgsql-admin
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 "primary_conninfo"
>

Unfortunately, right now, you can't. You have to read the file.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
PostgreSQL Sessions #3: http://www.postgresql-sessions.org


В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ssl3 errors in replication.
Следующее
От: Javier Reyes
Дата:
Сообщение: Equivalent plpgsql trigger in C