Re: Index-only scans for GiST. - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Index-only scans for GiST.
Date
Msg-id 54DCD788.1080003@vmware.com
Whole thread Raw
In response to Re: Index-only scans for GiST.  (Anastasia Lubennikova <lubennikovaav@gmail.com>)
Responses Re: Index-only scans for GiST.
List pgsql-hackers
On 02/12/2015 12:40 PM, Anastasia Lubennikova wrote:
> Thanks for answer.
> Now it seems to be applied correctly.

Thanks, it would be great to get this completed.

This still leaks memory with the same test query as earlier. The leak
seems to be into a different memory context now; it used to be to the
"GiST scan context", but now it's to the ExecutorState context. See
attached patch which makes the leak evident.

Looking at my previous comments from August:

* What's the reason for turning GISTScanOpaqueData.pageData from an
array to a List?

* Documentation is missing.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: assessing parallel-safety
Next
From: Robert Haas
Date:
Subject: Re: assessing parallel-safety