fix postgresql module for jbosseap [merge]