Fix bug #64953 (Postgres prepared statement positional parameter casting)