The gastric pHi values well reflected the viability of the gastric tube, especially when combined with the rectal pHi values. By measuring pHi, we can more accurately predict the risk of anastomotic insufficiency earlier after surgery and therefore give those patients who need it additional care to improve the viability of the gastric tube.