pgsql: Fix a second cause of undersized pallocs for btree_gist indexes

Started by Tom Laneabout 12 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/39586bc1e971c136c4487b26eb7334dbbe23b102

Modified Files
--------------
contrib/btree_gist/btree_macaddr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers