Adding postgresql support to enable 'pg' gem.