Re: definition of CalculateMaxmumSafeLSN - Mailing list pgsql-hackers

From Tom Lane
Subject Re: definition of CalculateMaxmumSafeLSN
Date
Msg-id 728214.1653154032@sss.pgh.pa.us
Whole thread Raw
In response to Re: definition of CalculateMaxmumSafeLSN  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> writes:
> On Mon, Feb 28, 2022 at 7:31 PM Sergei Kornilov <sk@zsrv.org> wrote:
>> I just spotted in src/include/access/xlog.h:
>> extern XLogRecPtr CalculateMaxmumSafeLSN(void);
>> This function doesn't seem to be used anywhere or even defined? "git grep CalculateMaxmumSafeLSN" shows only this
line.

> +1 to remove.

Right, done.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: check for null value before looking up the hash function
Next
From: rajesh singarapu
Date:
Subject: Re: Enforce "max_wal_size/ min_wal_size must be at least twice wal_segment_size" limit while setting GUCs