PATCH: 9.5 replication origins fix for logical decoding - Mailing list pgsql-hackers

From Craig Ringer
Subject PATCH: 9.5 replication origins fix for logical decoding
Date
Msg-id CAMsr+YFhBJLp=qfSz3-J+0P1zLkE8zNXM2otycn20QRMx380gw@mail.gmail.com
Whole thread Raw
Responses Re: PATCH: 9.5 replication origins fix for logical decoding  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi all

There's an oversight in replication origins support in logical
decoding, where the origin node ID isn't passed correctly to callbacks
except for the origin filter callback. All other callbacks see it as
InvalidRepOriginId.

It's a one-line fix, but I've added support in test_decoding to
validate the fix and expanded the test script to cover it.

Should be applied to 9.5 and 9.6.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan
Next
From: kolo hhmow
Date:
Subject: Re: pam auth - add rhost item