Re: maintenance_work_mem used by Vacuum - Mailing list pgsql-hackers

From Greg Stark
Subject Re: maintenance_work_mem used by Vacuum
Date
Msg-id CAM-w4HOR0gp-yXBXDrLrG-EuAsJoi=WxTO9rws1nDRYT-k9YEw@mail.gmail.com
Whole thread Raw
In response to Re: maintenance_work_mem used by Vacuum  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: maintenance_work_mem used by Vacuum
List pgsql-hackers
It's a bit unfortunate that we're doing the pending list flush while the vacuum memory is allocated at all. Is there any reason other than the way the callbacks are defined that gin doesn't do the pending list flush before vacuum does the heap scan and before it allocates any memory using maintenance_work_mem?

(I'm guessing doing it after vacuum is finished would have different problems with tuples in the pending queue not getting vacuumed?)

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Connect as multiple users using single client certificate
Next
From: Michael Paquier
Date:
Subject: Re: v12.0: segfault in reindex CONCURRENTLY