Re: definition of CalculateMaxmumSafeLSN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: Sergei Kornilov <sk(at)zsrv(dot)org>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: definition of CalculateMaxmumSafeLSN
Date: 2022-05-21 17:27:12
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> writes:
> On Mon, Feb 28, 2022 at 7:31 PM Sergei Kornilov <sk(at)zsrv(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message rajesh singarapu 2022-05-21 17:56:27 Re: Enforce "max_wal_size/ min_wal_size must be at least twice wal_segment_size" limit while setting GUCs
Previous Message David G. Johnston 2022-05-21 17:24:46 Re: check for null value before looking up the hash function