why pg_walfile_name() cannot be executed during recovery? - Mailing list pgsql-hackers

From SATYANARAYANA NARLAPURAM
Subject why pg_walfile_name() cannot be executed during recovery?
Date
Msg-id CAHg+QDf5uHg25gMK=o38cigt5c5JoJemA8F=JimgAFX-yoKSpQ@mail.gmail.com
Whole thread Raw
Responses Re: why pg_walfile_name() cannot be executed during recovery?
List pgsql-hackers
Hello Hackers,

Why pg_walfile_name() can't be executed under recovery? What is the best way for me to get the current timeline and/or the file being recovering on the standby using a postgres query? I know I can get it via process title but don't want to go that route.

Thanks,
Satya

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix pg_checksums progress report
Next
From: Fujii Masao
Date:
Subject: Re: Data type correction in pgstat_report_replslot function parameters