From: | sanyam jain <sanyamjain22(at)live(dot)in> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Craig Ringer <craig(at)2ndquadrant(dot)com>, Simon Riggs <simon(dot)riggs(at)2ndquadrant(dot)com>, Thom Brown <thom(at)linux(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Logical decoding on standby |
Date: | 2017-06-27 05:10:52 |
Message-ID: | BM1PR01MB10113CA04B57987BE6972620C0DC0@BM1PR01MB1011.INDPRD01.PROD.OUTLOOK.COM |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
>After changing
>sendTimeLineIsHistoric = state->currTLI == ThisTimeLineID;
>to
>sendTimeLineIsHistoric = state->currTLI != ThisTimeLineID;
>
>I was facing another issue.
>On promotion of a cascaded server ThisTimeLineID in the standby server having >logical slot becomes 0.
>Then i added a function call to GetStandbyFlushRecPtr in StartLogicalReplication >which updates ThisTimeLineID.
>
>After the above two changes timeline following is working.But i'm not sure whether >this is correct or not.In any case please someone clarify.
Please anyone with experience can explain whether the steps i have done are correct or not.
Thanks,
Sanyam Jain
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2017-06-27 05:13:39 | Re: transition table behavior with inheritance appears broken |
Previous Message | Peter Eisentraut | 2017-06-27 04:44:50 | Re: Modifing returning value of PQgetvalue. |