Fix variable declaration style in MakeNextValExprForIdentity function

pull/7920/head
Mehmet Yilmaz 2025-03-05 10:16:35 +00:00
parent afe876b0d8
commit feb8dc4af9
1 changed files with 1 additions and 2 deletions

View File

@ -1237,7 +1237,6 @@ ReorderInsertSelectTargetLists(Query *originalQuery, RangeTblEntry *insertRte,
Expr * Expr *
MakeNextValExprForIdentity(Oid seq_relid) MakeNextValExprForIdentity(Oid seq_relid)
{ {
List *func_args;
Oid nextval_oid; Oid nextval_oid;
Const *seq_const = makeConst( Const *seq_const = makeConst(
@ -1250,7 +1249,7 @@ MakeNextValExprForIdentity(Oid seq_relid)
true /* pass by value */ true /* pass by value */
); );
func_args = list_make1(seq_const); List *func_args = list_make1(seq_const);
nextval_oid = LookupFuncName( nextval_oid = LookupFuncName(
list_make1(makeString("nextval")), list_make1(makeString("nextval")),
1, 1,