From: | Amul Sul <sulamul(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: using an end-of-recovery record in all cases |
Date: | 2021-10-06 13:54:23 |
Message-ID: | CAAJ_b96FwTLmayr-nf87c=PoBPqaCLYZ0BVab1MtGfbejdCV1A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Oct 5, 2021 at 10:42 PM Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> On Tue, Oct 5, 2021 at 12:41 PM Amul Sul <sulamul(at)gmail(dot)com> wrote:
> > No, InRecovery flag get cleared before this point. I think, we can use lastReplayedEndRecPtr what you have suggested in other thread.
>
> Hmm, right, that makes sense. Perhaps I should start remembering what
> I said in my own emails.
>
Here I end up with the attached version where I have dropped the
changes for standby.c and 018_wal_optimize.pl files. Also, I am not
sure that we should have the changes for bgwriter.c and slot.c in this
patch, but that's not touched.
Regards,
Amul
Attachment | Content-Type | Size |
---|---|---|
v2-0001-Always-use-an-end-of-recovery-record-rather-than-.patch | application/x-patch | 6.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2021-10-06 13:54:50 | Re: wrapping CF 2021-09 |
Previous Message | Pavel Borisov | 2021-10-06 13:40:37 | Re: Partition Check not updated when insert into a partition |