Skip to content

Commit 89ac2ee

Browse files
CherkashinSergeyza-arthur
authored andcommitted
Add missing comment
1 parent 56076be commit 89ac2ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pg_variables.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,6 +1605,10 @@ createVariableInternal(Package *package, text *name, Oid typid, bool is_record,
16051605
}
16061606
}
16071607

1608+
/*
1609+
* If the variable has been created or has just become valid,
1610+
* increment the counter of valid transactional variables.
1611+
*/
16081612
if (is_transactional &&
16091613
(!found || !GetActualState(variable)->is_valid))
16101614
GetPackState(package)->trans_var_num++;

0 commit comments

Comments
 (0)