I'm trying to find a way to get the last pg wal (stop wal location) which was stored in the backup made by pg_basebackup. Is it there any function in pg which could give me the wal in pg_lsn format?
In old-level-api there was pg_start_backup, pg_stop_backup functions which return the start and stop wal location.
Thank you in advance