Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions
Date
Msg-id CAE9k0Pk=NeZsoON-uc0g18Bi+UMYm1zCsTe92nn+CLuVNf0XbA@mail.gmail.com
Whole thread Raw
In response to Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
On Fri, Sep 23, 2022 at 12:24 PM Ashutosh Sharma <ashu.coek88@gmail.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

pgsql-hackers by date:

Previous
From: Ashutosh Sharma
Date:
Subject: Re: binary version of pg_current_wal_insert_lsn and pg_walfile_name functions
Next
From: Alvaro Herrera
Date:
Subject: Re: LogwrtResult contended spinlock