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

Commit54d1f2b

Browse files
maksm90akorotkov
authored andcommitted
Rename boolean constants to named ones that denote kinds of userlock
1 parentd4e1f97 commit54d1f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pg_wait_sampling.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,11 @@ pg_wait_sampling_reset_profile(PG_FUNCTION_ARGS)
661661

662662
check_shmem();
663663

664-
init_lock_tag(&tag,false);
664+
init_lock_tag(&tag,PGWS_QUEUE_LOCK);
665665

666666
LockAcquire(&tag,ExclusiveLock, false, false);
667667

668-
init_lock_tag(&tagCollector,true);
668+
init_lock_tag(&tagCollector,PGWS_COLLECTOR_LOCK);
669669
LockAcquire(&tagCollector,ExclusiveLock, false, false);
670670
LockRelease(&tagCollector,ExclusiveLock, false);
671671

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp