postgresql/src/backend/replication/logical
Andres Freund f3a764b0da Set replication origin when decoding commit records.
By accident the replication origin was not set properly in
DecodeCommit(). That's bad because the origin is passed to the output
plugins origin filter, and accessible from the output plugin via
ReorderBufferTXN->origin_id.  Accessing the origin of individual changes
worked before the fix, which is why this wasn't notices earlier.

Reported-By: Craig Ringer
Author: Craig Ringer
Discussion: CAMsr+YFhBJLp=qfSz3-J+0P1zLkE8zNXM2otycn20QRMx380gw@mail.gmail.com
Backpatch: 9.5, where replication origins where introduced
2015-11-09 00:03:35 +01:00
..
decode.c Set replication origin when decoding commit records. 2015-11-09 00:03:35 +01:00
logical.c
logicalfuncs.c Message style improvements 2015-10-28 20:38:36 -04:00
Makefile
origin.c Message style improvements 2015-10-28 20:38:36 -04:00
reorderbuffer.c
snapbuild.c Message style improvements 2015-10-28 20:38:36 -04:00