pgsql: Set replication origin when decoding commit records.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Set replication origin when decoding commit records.
Дата
Msg-id E1ZvZ06-00033r-62@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f3a764b0dac77451d20ee00d2f5916447a5c4346

Modified Files
--------------
src/backend/replication/logical/decode.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Fix 9.5 version of previous commit to match its log message.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Set replication origin when decoding commit records.