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 | CAJ7c6TNxv9L=nmGJHO+2xBwDUbbKdJrOEBuh7ivPxSi7BhKNLg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15) (Maxim Orlov <orlovmg@gmail.com>) |
| Список | pgsql-hackers |
Hi, > As suggested before by Heikki Linnakangas, I've added a patch for making 2PC transaction state 64-bit. > At first, my intention was to rebuild all twophase interface to use FullTransactionId. But doing this in a proper > manner would lead to switching from TransactionId to FullTransactionId in PGPROC and patch become too > big to handle here. > > So I decided to keep it simple for now and use wrap logic trick and calc FullTransactionId on current epoch, > since the span of active xids cannot exceed one epoch at any given time. > > Patches 1 and 2 are the same as above. Thanks! 0003 LGTM. I'll mark the CF entry as RfC. > I propose that we try to finish 1 and 2 for v16. And maybe 6. I think > that's doable. It doesn't have any great user-visible benefits yet, but > we need to start somewhere. +1. However there are only a few days left if we are going to do this within March CF... -- Best regards, Aleksander Alekseev
В списке pgsql-hackers по дате отправления: