Re: Backpatching injection point core facilities to REL_17_STABLE
Re: Backpatching injection point core facilities to REL_17_STABLE
От:
Andrey Borodin <x4mmm@yandex-team.ru>
Дата:
> On 27 Jun 2025, at 14:25, Michael Paquier wrote: > > Thoughts or comments? I'm +1 on having full-fledged injection points in back branches where possible. Right now I'm debugging a PG-17(probably) problem where injection preloading would be handy (though functionality is available via hacks, just a little more work). But are you going to backpatch all new features of injection points in future? It's potentially x6 more work. Thanks! Best regards, Andrey Borodin.
Re: Backpatching injection point core facilities to REL_17_STABLE
On Fri, Jun 27, 2025 at 02:45:58PM +0500, Andrey Borodin wrote: > I'm +1 on having full-fledged injection points in back branches > where possible. Right now I'm debugging a PG-17(probably) problem > where injection preloading would be handy (though functionality is > available via hacks, just a little more work). > > But are you going to backpatch all new features of injection points > in future? It's potentially x6 more work. That may be nice, but I'd be interested in seeing how things evolve across v17 first before taking a decision for older branches. -- Michael
Re: Backpatching injection point core facilities to REL_17_STABLE
От:
Andrey Borodin <x4mmm@yandex-team.ru>
Дата:
> On 28 Jun 2025, at 05:38, Michael Paquier wrote: > > On Fri, Jun 27, 2025 at 02:45:58PM +0500, Andrey Borodin wrote: >> I'm +1 on having full-fledged injection points in back branches >> where possible. Right now I'm debugging a PG-17(probably) problem >> where injection preloading would be handy (though functionality is >> available via hacks, just a little more work). >> >> But are you going to backpatch all new features of injection points >> in future? It's potentially x6 more work. > > That may be nice, but I'd be interested in seeing how things evolve > across v17 first before taking a decision for older branches. FWIW both multixact problem [0] and my recent corruption finding [1] would benefit a lot from having ability to do injection points down to PG 12. And while [0] is a bug that is detectable with several pgbenches, I have a good sounding proof that [1] can't happen at all and no way to detect it without waiting injection point (or similar hand-hacked functionality). Best regards, Andrey Borodin. [0] https://www.postgresql.org/message-id/172e5723-d65f-4eec-b512-14beacb326ce@yandex.ru [1] https://www.postgresql.org/message-id/B3C69B86-7F82-4111-B97F-0005497BB745%40yandex-team.ru
Re: Backpatching injection point core facilities to REL_17_STABLE
On Thu, Aug 07, 2025 at 12:53:12PM +0300, Andrey Borodin wrote: > FWIW both multixact problem [0] and my recent corruption finding [1] > would benefit a lot from having ability to do injection points down > to PG 12. > And while [0] is a bug that is detectable with several pgbenches, I > have a good sounding proof that [1] can't happen at all and no way > to detect it without waiting injection point (or similar hand-hacked > functionality). Thanks for the input. It is v18 and HEAD are on par in terms of features, with only 4eca711bc991 and 7b2eb72b1b8c requiring a cherry-pick, so perhaps we should begin with that, before moving with more cherry-picks down to v17 as the second step? Any thoughts from others? Would it be useful to get that down to the back-branches? -- Michael
Re: Backpatching injection point core facilities to REL_17_STABLE
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Michael Paquier writes: > It is v18 and HEAD are on par in terms of features, with only > 4eca711bc991 and 7b2eb72b1b8c requiring a cherry-pick, so perhaps we > should begin with that, before moving with more cherry-picks down to > v17 as the second step? > Any thoughts from others? Would it be useful to get that down to the > back-branches? I don't have a strong opinion about whether this is worth getting into the back branches. I do have a strong opinion that just before a release freeze is not the time to be pushing such changes into stable branches. Even after the release, I wouldn't touch v13: we have learned repeatedly that inessential changes made in a branch's final release are often sources of regret. regards, tom lane
Re: Backpatching injection point core facilities to REL_17_STABLE
On Thu, Aug 07, 2025 at 09:34:05PM -0400, Tom Lane wrote: > I do have a strong opinion that just before a > release freeze is not the time to be pushing such changes into stable > branches. Don't worry. I have no plans to do any of that before the next minor release. Sorry if that was not clear. I was actually counting on the one-week table branch freeze to gather more opinions. > Even after the release, I wouldn't touch v13: we have > learned repeatedly that inessential changes made in a branch's final > release are often sources of regret. Sure. -- Michael