postgresql/src/backend/replication/logical
Fujii Masao 6e4bf4ecd3 Fix error handling of XLogReaderAllocate in case of OOM
Similarly to previous fix 9b8d478, commit 2c03216 has switched
XLogReaderAllocate() to use a set of palloc calls instead of malloc,
causing any callers of this function to fail with an error instead of
receiving a NULL pointer in case of out-of-memory error. Fix this by
using palloc_extended with MCXT_ALLOC_NO_OOM that will safely return
NULL in case of an OOM.

Michael Paquier, slightly modified by me.
2015-04-03 21:55:37 +09:00
..
decode.c Merge the various forms of transaction commit & abort records. 2015-03-15 17:37:07 +01:00
logical.c Fix error handling of XLogReaderAllocate in case of OOM 2015-04-03 21:55:37 +09:00
logicalfuncs.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile Introduce logical decoding. 2014-03-03 16:32:18 -05:00
reorderbuffer.c Use FLEXIBLE_ARRAY_MEMBER for HeapTupleHeaderData.t_bits[]. 2015-02-21 15:13:06 -05:00
snapbuild.c Fix an obsolete reference to SnapshotNow in comment. 2015-03-04 12:25:48 +09:00