Fix for Postgresql PDO::FETCH_ASSOC
Merge pull request #1803 from alexgalletti/master

Fix for Postgresql PDO::FETCH_ASSOC