Function to compare current cdb extension version