Patients receiving a blood transfusion were more likely to develop postoperative infections (P =0.02) and to have lower tumour necrosis factor alpha (TNFα), interleukin (IL)-12, IL-23 and RAR-related orphan receptor gamma T (RORγt) gene expression in the postoperative period (P <0.05). Here, IL23A is linked to infection.