Thread: Moving pg_autovacuum out of contrib Attempt#2

Moving pg_autovacuum out of contrib Attempt#2

From
"Matthew T. O'Connor"
Date:
Ok, based on feedback from Tom and Peter, here is another stab at moving
pg_autovacuum from: contrib/pg_autovacuum to: src/backend/postmaster

In summary pg_autovacuum.c has to be moved to src/backend/postmaster,
pg_autovacuum.h moves to src/include.  The apply the attached patch
which makes the required changes to src/include/pg_autovacuum.h,
contrib/Makefile and src/backend/postmaster/Makefile.

Please review my changes to src/backen/postmaster/Makefile as my make
skill are very limited and I would bet there is better way to do it.

Also, this keeps pg_autovacuum as a stand-alone executable for the time
being. Time permitting, I will make the postmaster launch and kill this
app as needed, or fold it into the postmaster more like the stats
collector.  But for now this gets it out of contrib.


Matthew O'Connor



Attachment