Re: definition of CalculateMaxmumSafeLSN
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: sk@zsrv.org, pgsql-hackers@postgresql.org, alvherre@alvh.no-ip.org
Date: 2022-03-01T04:44:40Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove unused-and-misspelled function extern declaration.
- e19272ef603b 15.0 landed
-
Allow users to limit storage reserved by replication slots
- c6550776394e 13.0 cited
Hi, On Tue, Mar 01, 2022 at 10:11:03AM +0900, Kyotaro Horiguchi wrote: > At Mon, 28 Feb 2022 17:01:10 +0300, Sergei Kornilov <sk@zsrv.org> wrote in > > Hello > > 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. > > Was added in c6550776394e25c1620bc8258427c8f1d448080d "Allow users to limit storage reserved by replication slots" > > Hmm. I think I remember of that name. You're right, it is a function > that was once added during development of the commit but eventually > gone. > > So it should be removed. +1. I'm Ccing Álvaro as he's the committer.