diff options
| author | Alvaro Herrera | 2014-06-09 19:17:23 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2014-06-09 19:17:23 +0000 |
| commit | b0b263baab3e927fe4b4f35755b91ac8d1db8fe0 (patch) | |
| tree | 8bd13dc54740bc7efbe56f650d1b9787cfce928d /src/include | |
| parent | fe7337f2dc3177da19b647fcda3a33b73da82e14 (diff) | |
Wrap multixact/members correctly during extension, take 2
In a50d97625497b7 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.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/multixact.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index 1f048e8ed5d..80c70748cf2 100644 --- a/src/include/access/multixact.h +++ b/src/include/access/multixact.h @@ -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 |
