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

Commit2c91e13

Browse files
committed
Move WaitLSNShmemInit() to CreateOrAttachShmemStructs()
Thanks to Andres Freund, Thomas Munrom and David Rowley for investigatingthis issue.Discussion:https://postgr.es/m/CAPpHfdvap5mMLikt8CUjA0osAvCJHT0qnYeR3f84EJ_Kvse0mg%40mail.gmail.com
1 parent3b1a7eb commit2c91e13

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/backend/storage/ipc/ipci.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,6 @@ CreateSharedMemoryAndSemaphores(void)
246246
/* Initialize subsystems */
247247
CreateOrAttachShmemStructs();
248248

249-
/*
250-
* Init array of Latches in shared memory for wait lsn
251-
*/
252-
WaitLSNShmemInit();
253-
254249
#ifdefEXEC_BACKEND
255250

256251
/*
@@ -364,6 +359,7 @@ CreateOrAttachShmemStructs(void)
364359
StatsShmemInit();
365360
WaitEventExtensionShmemInit();
366361
InjectionPointShmemInit();
362+
WaitLSNShmemInit();
367363
}
368364

369365
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp