On Mon, Nov 14, 2016 at 9:30 PM, Robert Haas <robertmh...@gmail.com> wrote: > Couldn't we just change the current memory context before calling > heap_getnext()? And then change back?
Right, seems like it will not have any problem.. > > Also, what if we abandoned the idea of pushing qual evaluation all the > way down into the heap and just tried to do HeapKeyTest in SeqNext > itself? Would that be almost as fast, or would it give up most of the > benefits? This we can definitely test. I will test and post the data. Thanks for the suggestion. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers