From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | 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-04-05 09:18:24 |
Message-ID: | CAMsr+YEbS8ZZ+w18j7OPM2MZEeDtGN9wDVF68=MzpeW=KRZZ9Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 5 April 2017 at 04:19, Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2017-04-04 22:32:40 +0800, Craig Ringer wrote:
>> I'm much happier with this. I'm still fixing some issues in the tests
>> for 03 and tidying them up, but 03 should allow 01 and 02 to be
>> reviewed in their proper context now.
>
> To me this very clearly is too late for v10, and now should be moved to
> the next CF.
I tend to agree that it's late in the piece. It's still worth cleaning
it up into a state ready for early pg11 though.
I've just fixed an issue where hot_standby_feedback on a physical slot
could cause oldestCatalogXmin to go backwards. When the slot's
catalog_xmin was 0 and is being set for the first time the standby's
supplied catalog_xmin is trusted. To fix it, in
PhysicalReplicationSlotNewXmin when setting catalog_xmin from 0, clamp
the value to the master's GetOldestSafeDecodingTransactionId().
Tests are cleaned up and fixed.
This series adds full support for logical decoding on a standby.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
01-log-catalog-xmin-advances-v7.patch | text/x-patch | 32.5 KB |
02-decoding-recovery-conflicts-v7.patch | text/x-patch | 20.1 KB |
03-decoding-on-standby-v7.patch | text/x-patch | 31.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Etsuro Fujita | 2017-04-05 09:20:42 | Re: postgres_fdw: support parameterized foreign joins |
Previous Message | Etsuro Fujita | 2017-04-05 09:03:49 | Re: postgres_fdw bug in 9.6 |