postgresql/src
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
..
backend Set replication origin when decoding commit records. 2015-11-09 00:03:35 +01:00
bin Don't connect() to a wildcard address in test_postmaster_connection(). 2015-11-08 17:28:53 -05:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Add "xid <> xid" and "xid <> int4" operators. 2015-11-07 16:40:15 -05:00
interfaces Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify fully. 2015-11-07 16:13:49 -05:00
makefiles Remove support for Unix systems without the POSIX signal APIs. 2015-08-31 12:56:10 -04:00
pl Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
port Remove support for Unix systems without the POSIX signal APIs. 2015-08-31 12:56:10 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Add "xid <> xid" and "xid <> int4" operators. 2015-11-07 16:40:15 -05:00
timezone Update time zone data files to tzdata release 2015g. 2015-10-02 19:15:39 -04:00
tools Modify tqueue infrastructure to support transient record types. 2015-11-06 16:58:45 -05:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Make prove_installcheck remove the old log directory, if any. 2015-10-11 20:36:07 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00