Hi Hackers, Is there any psql utility function that returns the last removed wal segment file? I see there is a method: XLogGetLastRemovedSegno in xlog.c. Would be happy to add a new psql function around it (similar to: pg_walfile_name, pg_last_wal_replay_lsn, etc other utility functions we have).
Thanks, Mahendrakar.