Re: Determine if postgresql cluster running is primary or not

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: Determine if postgresql cluster running is primary or not
Дата
Msg-id C9C805DE-FDBD-4EF2-A3FC-DE87381212D8@gmail.com
обсуждение исходный текст
Ответ на Re: Determine if postgresql cluster running is primary or not  (Raul Kaubi <raulkaubi@gmail.com>)
Ответы Re: Determine if postgresql cluster running is primary or not  (Raul Kaubi <raulkaubi@gmail.com>)
Список pgsql-general
Hi Raul,

> On 20. Nov, 2020, at 10:41, Raul Kaubi <raulkaubi@gmail.com> wrote:
>
> Hi
>
> Thanks.
> Seems like 9.5 does not work.
>
> ERROR:  relation "pg_stat_wal_receiver" does not exist
> LINE 20:         from pg_stat_wal_receiver
>
> Any ide how to achieve this in 9.5 ?
>
> Raul

this query is tested to work on 10.x and newer, not 9.x. I don't have 9.x, so I can't say, sorry.

Cheers,
Paul


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

Предыдущее
От: Paul Förster
Дата:
Сообщение: Re: Determine if postgresql cluster running is primary or not
Следующее
От: Roger Wolff
Дата:
Сообщение: Recovering old installation.