Fix a second cause of undersized pallocs for btree_gist indexes on macaddr.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 39586bc1e971c136c4487b26eb7334dbbe23b102
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-05-16T19:18:09Z
Releases: 9.4.0
Fix a second cause of undersized pallocs for btree_gist indexes on macaddr.

gbt_macad_union also allocated 12-byte structs where we really need 16.

Per report from Andres Freund.  No back-patch since there's no current
risk of a real problem.

Files

PathChange+/−
contrib/btree_gist/btree_macaddr.c modified +2 −1