fixes lichtner/fluentpdo#47
Merge pull request #1 from dczech/master

port fix into pgsql