Vadim Mikheev <vadim@krs.ru> writes:
> Tom Lane wrote:
>> So, what I want to do is call heap_getattr only once per
>> attribute and save the returned value for use in the second loop.
> Try to use heap_attisnull in first scan!
Ah, that looks like a much better idea. Consider it done...
thanks, tom lane