postgres requires empty array to be explicitly cast on update
adds test for postgres empty array cast
Merge pull request #890 from robraux/update-empty-postgres-array

postgres requires empty array to be explicitly cast on update