Re: Rethinking autovacuum.c memory handling
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-09-25T05:12:49Z
Lists: pgsql-hackers
On Sun, Sep 24, 2017 at 2:28 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Michael Paquier <michael.paquier@gmail.com> writes: >> I have spent some time looking at your patch and testing it. This >> looks sane. A small comment that I have would be to add an assertion >> at the top of perform_work_item to be sure that it is called in the >> memory context of AutovacMemCxt. > > Done like that, thanks for reviewing! Thanks for considering my idea. -- Michael
Commits
-
Improve memory management in autovacuum.c.
- 335f3d04e4c8 11.0 landed
-
Test BRIN autosummarization
- 404ba54e8fd3 11.0 landed
- 3571a53345bb 10.0 landed