diff options
| author | Peter Geoghegan | 2025-04-12 16:07:36 +0000 |
|---|---|---|
| committer | Peter Geoghegan | 2025-04-12 16:07:36 +0000 |
| commit | a6cab6a78ee58356967a447fa2c6414732856986 (patch) | |
| tree | cdad19ce29445a4b3c53a041d3f113ae7d61db61 /src/test | |
| parent | fdb69dd582427e4976897d544867e65a0e767002 (diff) | |
Harmonize function parameter names for Postgres 18.
Make sure that function declarations use names that exactly match the
corresponding names from function definitions in a few places. These
inconsistencies were all introduced during Postgres 18 development.
This commit was written with help from clang-tidy, by mechanically
applying the same rules as similar clean-up commits (the earliest such
commit was commit 035ce1fe).
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/modules/oauth_validator/fail_validator.c | 2 | ||||
| -rw-r--r-- | src/test/modules/oauth_validator/magic_validator.c | 2 | ||||
| -rw-r--r-- | src/test/modules/oauth_validator/validator.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/modules/oauth_validator/fail_validator.c b/src/test/modules/oauth_validator/fail_validator.c index a4c7a4451d3..bf04182a486 100644 --- a/src/test/modules/oauth_validator/fail_validator.c +++ b/src/test/modules/oauth_validator/fail_validator.c @@ -22,7 +22,7 @@ PG_MODULE_MAGIC; static bool fail_token(const ValidatorModuleState *state, const char *token, const char *role, - ValidatorModuleResult *result); + ValidatorModuleResult *res); /* Callback implementations (we only need the main one) */ static const OAuthValidatorCallbacks validator_callbacks = { diff --git a/src/test/modules/oauth_validator/magic_validator.c b/src/test/modules/oauth_validator/magic_validator.c index 9dc55b602e3..e0547caf22f 100644 --- a/src/test/modules/oauth_validator/magic_validator.c +++ b/src/test/modules/oauth_validator/magic_validator.c @@ -23,7 +23,7 @@ PG_MODULE_MAGIC; static bool validate_token(const ValidatorModuleState *state, const char *token, const char *role, - ValidatorModuleResult *result); + ValidatorModuleResult *res); /* Callback implementations (we only need the main one) */ static const OAuthValidatorCallbacks validator_callbacks = { diff --git a/src/test/modules/oauth_validator/validator.c b/src/test/modules/oauth_validator/validator.c index b2e5d182e1b..42b69646fbb 100644 --- a/src/test/modules/oauth_validator/validator.c +++ b/src/test/modules/oauth_validator/validator.c @@ -26,7 +26,7 @@ static void validator_shutdown(ValidatorModuleState *state); static bool validate_token(const ValidatorModuleState *state, const char *token, const char *role, - ValidatorModuleResult *result); + ValidatorModuleResult *res); /* Callback implementations (exercise all three) */ static const OAuthValidatorCallbacks validator_callbacks = { |
