Fix alignment in multirange_get_range() function

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 7615edd1db92b0bf909037480e8d9fcdb1be5f4b
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2021-12-13T14:20:07Z
Releases: 14.2
Fix alignment in multirange_get_range() function

The multirange_get_range() function fails when two boundaries of the same
range have different alignments.  Fix that by adding proper pointer alignment.

Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/17300-dced2d01ddeb1f2f%40postgresql.org
Backpatch-through: 14

Files

Discussion