On Sun, Feb 19, 2017 at 10:34 PM, Robert Haas <robertmh...@gmail.com> wrote: > Yeah, but it looks like ExecReScanGather gets rid of the workers, but > reuses the existing DSM. I'm not quite sure what happens to the DSA. > It looks like it probably just hangs around from the previous > iteration, which means that any allocations will also hang around.
Yes right, they hang around. But, during rescan (ExecReScanBitmapHeapScan) we can free all these DSA pointers ? That mean before reallocating the DSA pointers we would have already got rid of the old ones. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers