Re: Minimal logical decoding on standbys - Mailing list pgsql-hackers

From Drouvot, Bertrand
Subject Re: Minimal logical decoding on standbys
Date
Msg-id a4c03fad-2986-ddab-c12e-ea2ee0119181@gmail.com
Whole thread Raw
In response to Re: Minimal logical decoding on standbys  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: Minimal logical decoding on standbys  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Hi,

On 2/13/23 4:27 PM, Drouvot, Bertrand wrote:
> Hi,
> 
> On 2/7/23 4:29 PM, Drouvot, Bertrand wrote:
>> Hi,
>>
>> On 1/19/23 10:43 AM, Drouvot, Bertrand wrote:
>>> Hi,
>>>
>>> On 1/19/23 3:46 AM, Andres Freund wrote:
>>>> Hi,
>>>>
>>>> On 2023-01-18 11:24:19 +0100, Drouvot, Bertrand wrote:
>>>>> On 1/6/23 4:40 AM, Andres Freund wrote:
>>>>>> Hm, that's quite expensive. Perhaps worth adding a C helper that can do that
>>>>>> for us instead? This will likely also be needed in real applications after all.
>>>>>>
>>>>>
>>>>> Not sure I got it. What the C helper would be supposed to do?
>>>>
>>>> Call LogStandbySnapshot().
>>>>
>>>
>>> Got it, I like the idea, will do.
>>>
>>
>> 0005 in V49 attached is introducing a new pg_log_standby_snapshot() function
>> and the TAP test is making use of it.
>>
>> Documentation about this new function is also added in the "Snapshot Synchronization Functions"
>> section. I'm not sure that's the best place for it but did not find a better place yet.
>>
> 
> Attaching V50, tiny update in the TAP test (aka 0005) to make use of the wait_for_replay_catchup()
> wrapper just added in a1acdacada.
> 


Please find attached V51 tiny rebase due to a6cd1fc692 (for 0001) and 8a8661828a (for 0005).

Regards,

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

pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c