Thu Mar 8, 2018
Fixes and improvements:
Work around a core postgres reorderbuffer corruption bug with a change in the BDR output plugin. See the mailing list discussion of the issue, and commit 10e659bf4a7 for the workaround.
Ignore column-count mismatches if the mismatched columns are all nullable or dropped. This makes recovery from some kinds of operator errors simpler, and with sufficient care can be used to bypass DDL locking for adding new nullable columns to tables.
Fix possible deadlock in the apply worker in the find_pkey_tuple() function.
Be stricter about memory context handling and leak prevention during apply. In particular be careful not to fall back to TopMemoryContext. May help some possible memory leak issues.
Reset the apply worker memory context on every commit, not just when all messages have been consumed. May help with some possible memory leak issues.
Skip BDR 1.0.4 and bump the version straight to 1.0.5 to match BDR2