Simon Riggs <simon(at)2ndquadrant(dot)com> writes:> So rearranged code a little to keep it lean.
Didn't you break it with that? As it now stands, the memcpy willcopy the nonzero value.
regards, tom lane