Re: Improve error handling for invalid slots and ensure a same 'inactive_since' time for inactive slots

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Peter Smith <smithpb2250@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>, Nisha Moond <nisha.moond412@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-31T05:22:03Z
Lists: pgsql-hackers
On Fri, Jan 31, 2025 at 6:43 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
> Anyway, please consider it. The recovery and subscription TAP test are
> working for me.
>

Your fix looks good to me. I have pushed the patch along with that. Thanks.

-- 
With Regards,
Amit Kapila.



Commits

  1. Raise an error while trying to acquire an invalid slot.