Re: Fix slot synchronization with two_phase decoding enabled - Mailing list pgsql-hackers

From Nisha Moond
Subject Re: Fix slot synchronization with two_phase decoding enabled
Date
Msg-id CABdArM4wqU-BfyT76RDUbwYQ9LhUgh=p5n-hiuAKjCkY_nz7Hw@mail.gmail.com
Whole thread Raw
In response to Re: Fix slot synchronization with two_phase decoding enabled  (shveta malik <shveta.malik@gmail.com>)
List pgsql-hackers
On Tue, Jun 10, 2025 at 2:29 PM shveta malik <shveta.malik@gmail.com> wrote:
>
> On Fri, Jun 6, 2025 at 12:37 PM Nisha Moond <nisha.moond412@gmail.com> wrote:
> >
> > Attached v18 patch.
> >  - patch-001: modified error messages as suggested above.
> >  - patch-002: improved pg_dump docs as per Shveta's off-list suggestions.
> >
>
> Thanks for the patches. Please find few comments:
>

Thanks for the review.

> 1)
> + * However, we allow this combination in binary upgrade mode, where
> + * pg_upgrade guarantees that all slot changes are consumed and no
> + * prepared transactions exist.
> + */
>
> Can we please mention on which system pg_upgrade ensures that no
> prepared txn exists. Is it at the source system or target system or
> both? The similar comment is there at other place too, please update
> that as well.
>

pg_upgrade checks for prepared transactions on both source and target
systems. I've updated the respective comments.
~~~

Attached v19 patches addressing all the comments in [1] and [2].

[1] https://www.postgresql.org/message-id/CAJpy0uCGE0fi4oMb9A_L27C-fJq%2BVpSO9ZbcVxW5s5F3%2BsX0Lw%40mail.gmail.com
[2] https://www.postgresql.org/message-id/CAFPTHDYXjq_%3Dr2ss6YMQBr%3DwbSfkH%3DuGJFrJzVpaW0eqPhy0RQ%40mail.gmail.com
--
Thanks,
Nisha

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Nisha Moond
Date:
Subject: Re: Fix slot synchronization with two_phase decoding enabled