1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-19 17:02:53 +03:00

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).
This commit is contained in:
Peter Geoghegan
2025-04-12 12:07:36 -04:00
parent fdb69dd582
commit a6cab6a78e
27 changed files with 45 additions and 51 deletions

View File

@@ -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 = {

View File

@@ -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 = {

View File

@@ -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 = {