Fix postgres casting conflict in named parameters
Merge pull request #1662 from seegno/fix-named-parameters

Fix postgres casting conflict in named parameters