Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5b68f75

Browse files
Normalize heap_prepare_freeze_tuple argument name.
We called the argument totally_frozen in its function prototype as wellas in code comments, even though totally_frozen_p was used in thefunction definition. Standardize on totally_frozen.
1 parent8e375ea commit5b68f75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/access/heap/heapam.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6417,7 +6417,7 @@ FreezeMultiXactId(MultiXactId multi, uint16 t_infomask,
64176417
* are older than the specified cutoff XID and cutoff MultiXactId. If so,
64186418
* setup enough state (in the *frz output argument) to later execute and
64196419
* WAL-log what we would need to do, and return true. Return false if nothing
6420-
* is to be changed. In addition, set *totally_frozen_p to true if the tuple
6420+
* is to be changed. In addition, set *totally_frozen to true if the tuple
64216421
* will be totally frozen after these operations are performed and false if
64226422
* more freezing will eventually be required.
64236423
*
@@ -6445,7 +6445,7 @@ bool
64456445
heap_prepare_freeze_tuple(HeapTupleHeadertuple,
64466446
TransactionIdrelfrozenxid,TransactionIdrelminmxid,
64476447
TransactionIdcutoff_xid,TransactionIdcutoff_multi,
6448-
xl_heap_freeze_tuple*frz,bool*totally_frozen_p)
6448+
xl_heap_freeze_tuple*frz,bool*totally_frozen)
64496449
{
64506450
boolchanged= false;
64516451
boolxmax_already_frozen= false;
@@ -6645,8 +6645,8 @@ heap_prepare_freeze_tuple(HeapTupleHeader tuple,
66456645
}
66466646
}
66476647

6648-
*totally_frozen_p= (xmin_frozen&&
6649-
(freeze_xmax||xmax_already_frozen));
6648+
*totally_frozen= (xmin_frozen&&
6649+
(freeze_xmax||xmax_already_frozen));
66506650
returnchanged;
66516651
}
66526652

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp