]> granicus.if.org Git - postgresql/commit
Fix a second cause of undersized pallocs for btree_gist indexes on macaddr.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 May 2014 19:18:09 +0000 (15:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 May 2014 19:18:09 +0000 (15:18 -0400)
commit39586bc1e971c136c4487b26eb7334dbbe23b102
tree1675d09eca0366ea64301def94754c2e1eec1646
parent82bbb60c30dbff0633da34387ccab58d843379b5
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.
contrib/btree_gist/btree_macaddr.c