use better config retrieving method
use proper postgresql adapter for jruby specs