Add missed NULL checks for XLogReaderAllocate
XLogReaderAllocate returns NULL if the xlogreader couldn't be allocated. This NULL checks were forgotten in several places of twophase.c and caused segmentation faults under heavy workloads.
Showing
想要评论请 注册 或 登录