pg_ls_waldir does not work on standy

Поиск
Список
Период
Сортировка
От Nikhil Shetty
Тема pg_ls_waldir does not work on standy
Дата
Msg-id CAFpL5VxpPTroHqS1xP6TdMEvah4nK6LVJuA7mbdmk1fU0=Kdow@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_ls_waldir does not work on standy
Список pgsql-admin
Hi,

We see below error when running the function on a standby instance

postgres=# SELECT * FROM pg_ls_waldir() 

postgres-# ;

ERROR:  could not stat directory "pg_wal": No such file or directory


It works on a primary instance



Listing log directory works in both primary and standby


postgres=# select * from pg_ls_logdir();

          name           |   size    |      modification      

-------------------------+-----------+------------------------

 postgresql-Fri.log      | 274856244 | 2022-12-10 00:00:00+00

 postgresql-Sat.log      | 272873161 | 2022-12-11 00:00:00+00

 postgresql-Thu.log      | 274696376 | 2022-12-09 00:00:00+00



Thanks,

Nikhil

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

Предыдущее
От: Raghvendra Choudhary
Дата:
Сообщение: Re: How to speed WAL apply in destination
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: How to speed WAL apply in destination