public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: injection_points: Move some structs to new header injection_poin
3+ messages / 1 participants
[nested] [flat]

* pgsql: injection_points: Move some structs to new header injection_poin
@ 2026-05-18 02:12  Michael Paquier <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-05-18 02:12 UTC (permalink / raw)
  To: [email protected]

injection_points: Move some structs to new header injection_points.h

This commit moves the definitions of InjectionPointConditionType and
InjectionPointCondition into a new header local to the test module
injection_points.h, so as these can be shared across more files in the
module.  A patch for a bug fix is under discussion, whose proposed test
will benefit from this refactoring.

Backpatch down to where the module exists, as this should be useful for
future bug fixes, even cases unrelated to the thread where this change
has been discussed.

Author: Andrey Borodin <[email protected]>
Author: Vlad Lesin <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/01a479745488533aaa2c23d021c1f535a910ed07

Modified Files
--------------
.../modules/injection_points/injection_points.c    | 25 +---------------
.../modules/injection_points/injection_points.h    | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 24 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: injection_points: Move some structs to new header injection_poin
@ 2026-05-18 02:12  Michael Paquier <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-05-18 02:12 UTC (permalink / raw)
  To: [email protected]

injection_points: Move some structs to new header injection_points.h

This commit moves the definitions of InjectionPointConditionType and
InjectionPointCondition into a new header local to the test module
injection_points.h, so as these can be shared across more files in the
module.  A patch for a bug fix is under discussion, whose proposed test
will benefit from this refactoring.

Backpatch down to where the module exists, as this should be useful for
future bug fixes, even cases unrelated to the thread where this change
has been discussed.

Author: Andrey Borodin <[email protected]>
Author: Vlad Lesin <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e7b416b2fa444ca93d0ef1bd22b02747255733f7

Modified Files
--------------
.../modules/injection_points/injection_points.c    | 25 +---------------
.../modules/injection_points/injection_points.h    | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 24 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: injection_points: Move some structs to new header injection_poin
@ 2026-05-18 02:12  Michael Paquier <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-05-18 02:12 UTC (permalink / raw)
  To: [email protected]

injection_points: Move some structs to new header injection_points.h

This commit moves the definitions of InjectionPointConditionType and
InjectionPointCondition into a new header local to the test module
injection_points.h, so as these can be shared across more files in the
module.  A patch for a bug fix is under discussion, whose proposed test
will benefit from this refactoring.

Backpatch down to where the module exists, as this should be useful for
future bug fixes, even cases unrelated to the thread where this change
has been discussed.

Author: Andrey Borodin <[email protected]>
Author: Vlad Lesin <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 17

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/20a4b06a1ea1396ab1ced0db96406b50fb3b603a

Modified Files
--------------
.../modules/injection_points/injection_points.c    | 25 +---------------
.../modules/injection_points/injection_points.h    | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 24 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-05-18 02:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 02:12 pgsql: injection_points: Move some structs to new header injection_poin Michael Paquier <[email protected]>
2026-05-18 02:12 pgsql: injection_points: Move some structs to new header injection_poin Michael Paquier <[email protected]>
2026-05-18 02:12 pgsql: injection_points: Move some structs to new header injection_poin Michael Paquier <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox