Re: [HACKERS] sloppy handling of pointers

2016-09-30 Thread Jim Nasby
On 9/27/16 9:45 PM, Mark Dilger wrote: Fix attached. General comment on all these fixes you're submitting: you'll want to submit those to the commitfest app to make sure they get looked at. -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Experts in Analytics, Data Architecture

[HACKERS] sloppy handling of pointers

2016-09-27 Thread Mark Dilger
rangetypes_spgist.c contains a call to detoast a pointer which was just returned from a detoast operation. This seems to do no harm, but is to my mind a sloppy thinko. Fix attached. tsgistidx.c contains a detoast of a pointer where detoast of a datum was likely intended. Fix attached. tsrank.c