mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Wrap multixact/members correctly during extension, take 2
In a50d976254
I already changed this, but got it wrong for the case
where the number of members is larger than the number of entries that
fit in the last page of the last segment.
As reported by Serge Negodyuck in a followup to bug #8673.
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#define MultiXactIdIsValid(multi) ((multi) != InvalidMultiXactId)
|
||||
|
||||
#define MaxMultiXactOffset ((MultiXactOffset) 0xFFFFFFFF)
|
||||
|
||||
/* Number of SLRU buffers to use for multixact */
|
||||
#define NUM_MXACTOFFSET_BUFFERS 8
|
||||
#define NUM_MXACTMEMBER_BUFFERS 16
|
||||
|
Reference in New Issue
Block a user