pgsql: Change GetMultiXactInfo() to return the next multixact offset
В списке pgsql-committers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | pgsql: Change GetMultiXactInfo() to return the next multixact offset |
| Дата | |
| Msg-id | E1vaRty-003Qdd-01@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Change GetMultiXactInfo() to return the next multixact offset This routine returned a number of members as a MultiXactOffset, calculated based on the difference between the next-to-be-assigned offset and the oldest offset. However, this number is not actually an offset but a number. This type confusion comes from the original implementation of MultiXactMemberFreezeThreshold(), in 53bb309d2d5a. The number of members is now defined as a uint64, large enough for MultiXactOffset. This change will be used in a follow-up patch. Reviewed-by: Naga Appani <nagnrik@gmail.com> Discussion: https://postgr.es/m/aUyTvZMq2CLgNEB4@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9cf746a453c15ffdf652a6d50683bfd82e654950 Modified Files -------------- src/backend/access/transam/multixact.c | 16 ++++++++-------- src/include/access/multixact.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера