Re: Rethinking autovacuum.c memory handling
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Date: 2017-09-23T11:14:15Z
Lists: pgsql-hackers
Attachments
- 0001-Add-autovacuum-work-items-test-for-BRIN.patch (text/plain)
Alvaro Herrera wrote: > One idea I just had is to somehow add it to src/test/modules/brin, and > set up the postmaster in that test with autovacuum_naptime=1s. I'll go > check how feasible that is. (By placing it there we could also verify > that the index does indeed contain the index entries we expect, since it > has pageinspect available.) Yeah, this works, as per the attached patch. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Improve memory management in autovacuum.c.
- 335f3d04e4c8 11.0 landed
-
Test BRIN autosummarization
- 404ba54e8fd3 11.0 landed
- 3571a53345bb 10.0 landed