Michael Meskes kindly reported the issue.
shouldn't src/backend/access/transam/gtm.c include "postmaster/autovacuum.h"? Without it IsAutoVacuumLauncherProcess() is implicitely defined there.
It looks that the fix for 1.0.x is not simple. Using postmaster/autovacuum.h looks conflict with other header files.
I will look into it more carefully and hope it is my mistake.
master has not problem to include postmaster/autovacuum.h. This may be because of the difference in the header file structure of PG 9.1 and 9.2.
One way to fix it for 1.0.x is to port implicit function definition from autovacuum.h.
Has been fixed.
Log in to post a comment.
It looks that the fix for 1.0.x is not simple. Using postmaster/autovacuum.h looks conflict with other header files.
I will look into it more carefully and hope it is my mistake.
master has not problem to include postmaster/autovacuum.h. This may be because of the difference in the header file structure of PG 9.1 and 9.2.
One way to fix it for 1.0.x is to port implicit function definition from autovacuum.h.
Has been fixed.