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-03-18 08:33:45
Message-ID: 6e1dda09-0c4f-b196-a589-fb741f11686f@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2/4/21 6:33 PM, Fabrízio de Royes Mello wrote:
>
> On Thu, Feb 4, 2021 at 1:49 PM Drouvot, Bertrand <bdrouvot(at)amazon(dot)com
> <mailto:bdrouvot(at)amazon(dot)com>> wrote:
> >
> > Had to do a little change to make it compiling again (re-add the
> heapRel argument in _bt_delitems_delete() that was removed by commit
> dc43492e46c7145a476cb8ca6200fc8eefe673ef).
> >
> > Given that this attached v9 version:
> >
> > compiles successfully on current master
> > passes "make check"
> > passes the 2 associated tap tests "make -C src/test/recovery check
> PROVE_TESTS=t/022_standby_logical_decoding_xmins.pl
> <http://022_standby_logical_decoding_xmins.pl> PROVE_FLAGS=-v"  and
> "make -C src/test/recovery check
> PROVE_TESTS=t/023_standby_logical_decoding_conflicts.pl
> <http://023_standby_logical_decoding_conflicts.pl> PROVE_FLAGS=-v"
> >
>
> Perfect thanks... will review ASAP!

Thanks!

Just made minor changes to make it compiling again on current master
(mainly had to take care of ResolveRecoveryConflictWithSnapshotFullXid()
that has been introduced in e5d8a99903).

Please find enclosed the new patch version that currently passes "make
check" and the 2 associated TAP tests.

I'll have a look to the whole thread to check if there is anything else
waiting in the pipe regarding this feature, unless some of you know off
the top of their head?

Bertrand

Attachment Content-Type Size
v10-0005-Doc-changes-describing-details-about-logical-dec.patch text/plain 1.8 KB
v10-0004-New-TAP-test-for-logical-decoding-on-standby.patch text/plain 20.5 KB
v10-0003-Handle-logical-slot-conflicts-on-standby.patch text/plain 26.2 KB
v10-0002-Add-info-in-WAL-records-in-preparation-for-logic.patch text/plain 19.7 KB
v10-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 杨逸存 2021-03-18 08:35:48 Query about 'initdb' error
Previous Message Peter Eisentraut 2021-03-18 08:31:24 Re: SSL SNI