Last removed wal segment file

From: mahendrakar s <mahendrakarforpg(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Last removed wal segment file
Date: 2024-12-23 03:52:06
Message-ID: CABkiuWo_7Py0_RCbGKW=oEod4PFrFBM716qytdO3e-PK68DE9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michel Pelletier 2024-12-23 03:52:08 Re: Using Expanded Objects other than Arrays from plpgsql
Previous Message Tom Lane 2024-12-23 03:50:47 Re: Fix a wrong comment in load_file()