Hi,
The attached patch moves the "LastRec" variable declaration insideStartupXLOG() where it is supposed to be.
-- Regards,Amul SulEDB: http://www.enterprisedb.com