pgsql: Remove obsolete SLRU wrapping and warnings from predicate.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove obsolete SLRU wrapping and warnings from predicate.c.
Дата
Msg-id E1f1zRA-0000qB-Hw@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove obsolete SLRU wrapping and warnings from predicate.c.

When SSI was developed, slru.c was limited to segment files with names in
the range 0000-FFFF.  This didn't allow enough space for predicate.c to
store every possible XID when spilling old transactions to disk, so it
would wrap around sooner and print warnings.  Since commits 638cf09e and
73c986ad increased the number of segment files slru.c could manage, that
behavior is unnecessary.  Therefore remove that code.

Also remove the macro OldSerXidSegment, which has been unused since
4cd3fb6e.

Thomas Munro, reviewed by Anastasia Lubennikova

Discussion: https://postgr.es/m/CAEepm=3XfsTSxgEbEOmxu0QDiXy0o18NUg2nC89JZcCGE+XFPA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e5eb4fa87331821423b362be5ea4b18e873d5b27

Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 52 +++---------------------------------
1 file changed, 3 insertions(+), 49 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve out-of-memory error reports by including memorycontext
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Ensure that WAL pages skipped by a forced WAL switch arezero-fi