Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions
Date: 2022-09-23 06:55:59
Message-ID: CAE9k0Pk=NeZsoON-uc0g18Bi+UMYm1zCsTe92nn+CLuVNf0XbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 23, 2022 at 12:24 PM Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com> wrote:
>
> PFA v2 patch.
>
> Changes in the v2 patch:
>
> - Reuse the existing get_controlfile function in
> src/common/controldata_utils.c instead of adding a new one.
>
> - Set env variable PGDATA with the data directory specified by the user.
>

Forgot to attach the patch with above changes. Here it is.

--
With Regards,
Ashutosh Sharma.

Attachment Content-Type Size
v2-0001-Enhance-pg_waldump-to-show-latest-LSN-and-the-corrre.patch application/octet-stream 6.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-09-23 08:49:41 Re: LogwrtResult contended spinlock
Previous Message Ashutosh Sharma 2022-09-23 06:54:11 Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions