gearman: Add postgresql support