Re: Improve the connection failure error messages - Mailing list pgsql-hackers

From Nisha Moond
Subject Re: Improve the connection failure error messages
Date
Msg-id CABdArM5mu1A8zyqsEhckaser-1d2AXgkVrEqqJNJKV5=0N9shg@mail.gmail.com
Whole thread Raw
In response to Re: Improve the connection failure error messages  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Improve the connection failure error messages
Re: Improve the connection failure error messages
List pgsql-hackers
On Wed, Mar 13, 2024 at 11:16 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
> FYI -- some more code has been pushed since this patch was last
> updated. AFAICT perhaps you'll want to update this patch again for the
> following new connection messages on HEAD:
>
> - slotfuncs.c [1]
> - slotsync.c [2]
>
> ----------
> [1]
https://github.com/postgres/postgres/blob/0b84f5c419a300dc1b1a70cf63b9907208e52643/src/backend/replication/slotfuncs.c#L989
> [2]
https://github.com/postgres/postgres/blob/0b84f5c419a300dc1b1a70cf63b9907208e52643/src/backend/replication/logical/slotsync.c#L1258
>
Thanks for the update.
Here is the v4 patch with changes required in slotfuncs.c and slotsync.c files.

--
Thanks,
Nisha

Attachment

pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Refactoring of pg_resetwal/t/001_basic.pl
Next
From: Amit Kapila
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation