added handling of int8/bigint in Postgresql results