Fix type cast problem in Postgres. Closes #966
Fix type cast problem in Postgres. Closes #966

twidi/satchmo,ringemup/satchmo,dokterbob/satchmo,ringemup/satchmo,dokterbob/satchmo,Ryati/satchmo,twidi/satchmo,Ryati/satchmo