Re: Minimal logical decoding on standbys

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>, fabriziomello(at)gmail(dot)com, tushar <tushar(dot)ahuja(at)enterprisedb(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: 2023-03-04 11:19:57
Message-ID: ba5aa952-ef8c-b862-69df-0ad9e5d19d23@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 3/3/23 5:26 PM, Drouvot, Bertrand wrote:
> Hi,
>
> On 3/3/23 8:58 AM, Jeff Davis wrote:
>> On Thu, 2023-03-02 at 11:45 -0800, Jeff Davis wrote:
>>> In this case it looks easier to add the right API than to be sure
>>> about
>>> whether it's needed or not.
>>
>> I attached a sketch of one approach.
>
> Oh, that's very cool, thanks a lot!
>
>> I'm not very confident that it's
>> the right API or even that it works as I intended it, but if others
>> like the approach I can work on it some more.
>>
>
> I'll look at it early next week.
>

Just attaching a tiny rebase due to ebd551f586 breaking 0001 (did not look at your patch yet).

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v52-0006-Doc-changes-describing-details-about-logical-dec.patch text/plain 2.2 KB
v52-0005-New-TAP-test-for-logical-decoding-on-standby.patch text/plain 32.9 KB
v52-0004-Fixing-Walsender-corner-case-with-logical-decodi.patch text/plain 7.7 KB
v52-0003-Allow-logical-decoding-on-standby.patch text/plain 11.8 KB
v52-0002-Handle-logical-slot-conflicts-on-standby.patch text/plain 37.0 KB
v52-0001-Add-info-in-WAL-records-in-preparation-for-logic.patch text/plain 76.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2023-03-04 12:08:27 Re: libpq-fe.h should compile *entirely* standalone
Previous Message Amit Kapila 2023-03-04 10:33:53 Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher