Re: Minimal logical decoding on standbys

From: "Drouvot, Bertrand" <bdrouvot(at)amazon(dot)com>
To: <fabriziomello(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, "[pgdg] Robert Haas" <robertmhaas(at)gmail(dot)com>, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>, Rahila Syed <rahila(dot)syed(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Minimal logical decoding on standbys
Date: 2021-04-06 12:30:29
Message-ID: 6b9168e5-6a29-7fda-8903-cd50563fa84c@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 3/25/21 8:51 AM, Drouvot, Bertrand wrote:
>
>
> On 3/25/21 12:01 AM, Fabrízio de Royes Mello wrote:
>>
>>
>> On Wed, Mar 24, 2021 at 3:57 AM Drouvot, Bertrand
>> <bdrouvot(at)amazon(dot)com <mailto:bdrouvot(at)amazon(dot)com>> wrote:
>> >
>> > Thanks for pointing out, fixed in v14 attached.
>> >
>>
>> Thanks... now everything is working as expected... changed the status
>> to Ready for Commiter:
>> https://commitfest.postgresql.org/32/2968/
>> <https://commitfest.postgresql.org/32/2968/>
>>
> Thanks!
>
> I think this would be a great feature, so I am looking forward to
> help/work on any comments/suggestions that they may have.
>
Just needed a minor rebase due to 2 new conflicts with:

* b4af70cb21: in vacuum_log_cleanup_info() (see new
v15-0002-Add-info-in-WAL-records-in-preparation-for-logic.patch)
* 43620e3286: oid conflict with pg_log_backend_memory_contexts() and
pg_stat_get_db_conflict_snapshot() (see new
v15-0003-Handle-logical-slot-conflicts-on-standby.patch)

New v15 attached is passing "make check" and the 2 new associated TAP tests.

Bertrand

Attachment Content-Type Size
v15-0005-Doc-changes-describing-details-about-logical-dec.patch text/plain 1.7 KB
v15-0004-New-TAP-test-for-logical-decoding-on-standby.patch text/plain 20.9 KB
v15-0003-Handle-logical-slot-conflicts-on-standby.patch text/plain 26.8 KB
v15-0002-Add-info-in-WAL-records-in-preparation-for-logic.patch text/plain 19.7 KB
v15-0001-Allow-logical-decoding-on-standby.patch text/plain 9.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-04-06 12:39:53 Re: Can we remove extra memset in BloomInitPage, GinInitPage and SpGistInitPage when we have it in PageInit?
Previous Message Fujii Masao 2021-04-06 12:29:20 Re: postgres_fdw: IMPORT FOREIGN SCHEMA ... LIMIT TO (partition)