sequelize/sequelize — pull request #1662 by nunofgs (2014-04-19 16:24:46+00:00)
Title: Fix postgres casting conflict in named parameters

The following query will fail due to Sequelize's named parameter handling:

```sql
Sequelize.query("SELECT '10'::int");
```

This PR only replaces parameters that do not start with double colons (for Postgres dialects only).