Re: [HACKERS] unaddressable bytes in BRIN

2015-05-26 Thread Alvaro Herrera
Alvaro Herrera wrote: Andres Freund just forwarded me a valgrind error report that Peter Geoghegan noticed: ==29892== Unaddressable byte(s) found during client check request ==29892==at 0x7D1317: PageAddItem (bufpage.c:314) Fixed by Tom,

Re: [HACKERS] unaddressable bytes in BRIN

2015-05-11 Thread Stephen Frost
* Alvaro Herrera (alvhe...@2ndquadrant.com) wrote: What I think this means is that during an index build brin_minmax_add_value() called numeric_lt() which detoasted one of its input values; later, brin_doinsert() inserts a tuple containing the value, but it tries to use more bytes than were

[HACKERS] unaddressable bytes in BRIN

2015-05-10 Thread Alvaro Herrera
Andres Freund just forwarded me a valgrind error report that Peter Geoghegan noticed: ==29892== Unaddressable byte(s) found during client check request ==29892==at 0x7D1317: PageAddItem (bufpage.c:314) ==29892==by 0x468106: brin_doinsert (brin_pageops.c:315) ==29892==by 0x4671A5: