fn read_value<'a, T>(
    type_: &PgType,
    buf: &mut &'a [u8]
) -> Result<T, Box<dyn Error + Sync + Send>>where
    T: FromSql<'a>,