Fixes #1115: fixed the issue with PDO boolean value binding with pgsql