Re: definition of CalculateMaxmumSafeLSN

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: definition of CalculateMaxmumSafeLSN
Дата
Msg-id 20220301.101103.2231760568010660101.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на definition of CalculateMaxmumSafeLSN  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: definition of CalculateMaxmumSafeLSN  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
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.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Optionally automatically disable logical replication subscriptions on error
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Use "WAL segment" instead of "log segment" consistently in user-facing messages