fixed KeyValueType for Postgresql
2.11.1 release