Any way to get timestamp from LSN value ?

From: Harinath Kanchu <hkanchu(at)apple(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Any way to get timestamp from LSN value ?
Date: 2022-07-28 07:47:27
Message-ID: 308CC288-DE04-4091-A7DE-036370B7293B@apple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Is there any way to get the timestamp of the transaction using LSN value ?

For example:
can we use the minimum recovery ending location in pg control file to get the minimum recovery timestamp ?

Minimum recovery ending location: 28/28000B68

Thanks in advance,

Best,
Harinath.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message alvherre@alvh.no-ip.org 2022-07-28 08:02:27 Re: [BUG] Panic due to incorrect missingContrecPtr after promotion
Previous Message Amit Langote 2022-07-28 07:37:08 Re: Skip partition tuple routing with constant partition key