Fixed problem with postgresql adapter

Currently there is a bug with the postgresql adapter and it won't work. I have made it to work by changing the library file of the spark to get correct the name of the adaptor that has to be called