Cost-of-living adjustments on a pension

Whether a pension rises with inflation, and why many do not.