why pg_walfile_name() cannot be executed during recovery?

From: SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: why pg_walfile_name() cannot be executed during recovery?
Date: 2021-04-02 08:23:02
Message-ID: CAHg+QDf5uHg25gMK=o38cigt5c5JoJemA8F=JimgAFX-yoKSpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2021-04-02 08:29:26 Re: Data type correction in pgstat_report_replslot function parameters
Previous Message Michael Paquier 2021-04-02 07:47:39 Re: Fix pg_checksums progress report