From: Michael Paquier [mailto:mich...@paquier.xyz] > We use palloc_extended with MCXT_ALLOC_NO_OOM in 9.5~, and malloc() further > down, so once you remove the FATAL error caused by a record whose length > is higher than 1GB, you discard all the hard failures, no?
Ouch, you're right. If memory allocation fails, the startup process would emit a LOG message and continue to fetch new WAL records. Then, I'm completely happy with your patch. I added you as the author, and marked this as ready for committer. Regards Takayuki Tsunakawa