Re: Error in StrategySyncStart() prologue
Re: Error in StrategySyncStart() prologue
От:
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Дата:
On Fri, Jan 31, 2025 at 7:38 AM Michael Paquier wrote: > > On Thu, Jan 30, 2025 at 05:36:32PM +0900, Michael Paquier wrote: > > Indeed, your suggestion sounds right. StrategySyncStart() is only > > used in BgBufferSync() for the background writer since 9cd00c457e6a, > > and this commit seems to have missed the comment update. > > And done. > -- > Michael Thanks a lot. Your archaeology investigation is correct. I looked through the changes to the names and signatures of BufferSync and BgBufferSync but most of them were more than a decade ago. So I was doubtful about this error being so far in the history. I traced the changes to the function body but not as far as 8 years back. -- Best Wishes, Ashutosh Bapat