Re: [HACKERS] Q about heap_getattr - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Q about heap_getattr
Date
Msg-id 7817.917202665@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Q about heap_getattr  (Vadim Mikheev <vadim@krs.ru>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Adding some const keywords to external interfaces
Next
From: Tom Lane
Date:
Subject: Another source of snprintf/vsnprintf code