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:
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user