Fix alignment in multirange_get_range() function

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 5cc9c8374093ba0e427b3309e10077708c156b6a
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2021-12-13T14:17:33Z
Releases: 15.0
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