mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Harmonize function parameter names for Postgres 17.
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 17 development.
pg_bsd_indent still has a couple of similar inconsistencies, which I
(pgeoghegan) have left untouched for now.
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:
@@ -318,7 +318,7 @@ static void getJsonPathVariable(JsonPathExecContext *cxt,
|
||||
JsonPathItem *variable, JsonbValue *value);
|
||||
static int countVariablesFromJsonb(void *varsJsonb);
|
||||
static JsonbValue *getJsonPathVariableFromJsonb(void *varsJsonb, char *varName,
|
||||
int varNameLen,
|
||||
int varNameLength,
|
||||
JsonbValue *baseObject,
|
||||
int *baseObjectId);
|
||||
static int JsonbArraySize(JsonbValue *jb);
|
||||
@@ -342,7 +342,6 @@ static void JsonValueListInitIterator(const JsonValueList *jvl,
|
||||
JsonValueListIterator *it);
|
||||
static JsonbValue *JsonValueListNext(const JsonValueList *jvl,
|
||||
JsonValueListIterator *it);
|
||||
static int JsonbType(JsonbValue *jb);
|
||||
static JsonbValue *JsonbInitBinary(JsonbValue *jbv, Jsonb *jb);
|
||||
static int JsonbType(JsonbValue *jb);
|
||||
static JsonbValue *getScalar(JsonbValue *scalar, enum jbvType type);
|
||||
@@ -359,7 +358,7 @@ static JsonTablePlanState *JsonTableInitPlan(JsonTableExecContext *cxt,
|
||||
List *args,
|
||||
MemoryContext mcxt);
|
||||
static void JsonTableSetDocument(TableFuncScanState *state, Datum value);
|
||||
static void JsonTableResetRowPattern(JsonTablePlanState *plan, Datum item);
|
||||
static void JsonTableResetRowPattern(JsonTablePlanState *planstate, Datum item);
|
||||
static bool JsonTableFetchRow(TableFuncScanState *state);
|
||||
static Datum JsonTableGetValue(TableFuncScanState *state, int colnum,
|
||||
Oid typid, int32 typmod, bool *isnull);
|
||||
|
||||
Reference in New Issue
Block a user