Re: pg_walfile_name uses XLByteToPrevSeg

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_walfile_name uses XLByteToPrevSeg
Date: 2022-02-04 14:17:54
Message-ID: CA+Tgmoap0X6AyxnuPd0Ahxxtzs4UgVNUO9u=CRxxdkEk5iXxXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 4, 2022 at 9:05 AM Ashutosh Bapat
<ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> wrote:
> And it gives some surprising results as well
> ---
> #select pg_walfile_name('0/0'::pg_lsn);
> pg_walfile_name
> --------------------------
> 00000001FFFFFFFF000000FF
> (1 row)
> ----

Yeah, that seems wrong.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2022-02-04 14:48:01 Re: Extensible Rmgr for Table AMs
Previous Message Robert Haas 2022-02-04 14:10:42 Re: Extensible Rmgr for Table AMs