> On 12 Nov 2019, at 14:07, Ranier Vilela <ranier_gyn(at)hotmail(dot)com> wrote:
> ExecClearTuple don't check por NULL pointer arg and according
> TupIsNull slot can be NULL.
I assume you are referring to the TupIsNull(resultTupleSlot) check a few lines
down in the same loop? If resultTupleSlot was indeed NULL and not empty, the
subsequent call to ExecCopySlot would be a NULL pointer dereference too. I
might be missing something obvious, but in which case can resultTupleSlot be
NULL when calling ExecUnique?
cheers ./daniel