Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Дата
Msg-id CAJ7c6TO=FzktkHaREwt9J0pB_OqXNiNAfbSbf3WotzEirp5TnA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)  (Maxim Orlov <orlovmg@gmail.com>)
Список pgsql-hackers
Hi hackers,

> I managed to reproduce the issue locally and to fix it. UBSAN is happy
> now. PFA v49.

Maxim Orlov pointed out offlist that this cast is not needed:

```
-       SimpleLruTruncate(CommitTsCtl, (int)cutoffPage);
+       SimpleLruTruncate(CommitTsCtl, cutoffPage);
```

SimpleLruTruncate() accepts cutoffPage as uint64 in 0001.

PFA the corrected patchset v50.

-- 
Best regards,
Aleksander Alekseev

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: Pavel Borisov
Дата:
Сообщение: Re: Add 64-bit XIDs into PostgreSQL 15