initial refreshFromBuffer
merge
add compatibility for the decimal extension