]> git.ipfire.org Git - thirdparty/postgresql.git/commit
injection_points: Move some structs to new header injection_points.h
authorMichael Paquier <michael@paquier.xyz>
Mon, 18 May 2026 02:11:44 +0000 (11:11 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 18 May 2026 02:11:44 +0000 (11:11 +0900)
commit20a4b06a1ea1396ab1ced0db96406b50fb3b603a
treea0145095ec1d7c96a47c5523af556f749e5a81a0
parentdc3db3a8349bd164354ef5b6c94d1c0c2adc651c
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 <x4mmm@yandex-team.ru>
Author: Vlad Lesin <vladlesin@gmail.com>
Discussion: https://postgr.es/m/d2983796-2603-41b7-a66e-fc8489ddb954@gmail.com
Backpatch-through: 17
src/test/modules/injection_points/injection_points.c
src/test/modules/injection_points/injection_points.h [new file with mode: 0644]