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

Commite4b27b5

Browse files
committed
Change initial use of pg_atomic_write_u64 to init
This only matters when using atomics emulation with semaphores.Per buildfarm member rorqual.
1 parentd172b71 commite4b27b5

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/slru.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,
240240
shared->lsn_groups_per_page=nlsns;
241241

242242
shared->cur_lru_count=0;
243-
pg_atomic_write_u64(&shared->latest_page_number,0);
243+
pg_atomic_init_u64(&shared->latest_page_number,0);
244244

245245
shared->slru_stats_idx=pgstat_get_slru_index(name);
246246

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp