- Patch #11094 by Allen Chandler and Adrian: fixed PostgreSQL related SQL problem in aggregator module.