Wrap multixact/members correctly during extension, take 2

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: b0b263baab3e927fe4b4f35755b91ac8d1db8fe0
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2014-06-09T19:17:23Z
Releases: 9.4.0
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.

Files

PathChange+/−
src/backend/access/transam/multixact.c modified +32 −13
src/include/access/multixact.h modified +2 −0