Re: How to get current timeline of host in postgres 10.4?

Поиск
Список
Период
Сортировка
От Pavan Teja
Тема Re: How to get current timeline of host in postgres 10.4?
Дата
Msg-id CACh9nsbxQt-8qqw-sfUH1cpKnUViRdYrqWnmf5pagLo+Ch17oQ@mail.gmail.com
обсуждение исходный текст
Ответ на How to get current timeline of host in postgres 10.4?  (Debraj Manna <subharaj.manna@gmail.com>)
Список pgsql-admin

Hi Debraj,

From master:
pg_xlogfile_name -- right!
From standby:
using replication prtotocol (example from version 92)
psql -h "$host" -F' ' -c 'IDENTIFY_SYSTEM' 'dbname=replication replication=true'
Hope it helps.

Regards,
Pavan
On Fri, Jun 15, 2018, 9:36 PM Debraj Manna <subharaj.manna@gmail.com> wrote:
HI

Can someone let me know what is the best way to get current timeline of host (in both master and the slaves) in postgres 10.4?

Thanks,

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

Предыдущее
От: Debraj Manna
Дата:
Сообщение: How to get current timeline of host in postgres 10.4?
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: How to get current timeline of host in postgres 10.4?