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

Commit616afee

Browse files
committed
worker_spi: Initialize bgw_notify_pid in all cases.
Commit090d0f2 added new code showinghow it can be useful to set bgw_notify_pid to a non-zero value, but itfailed to make sure that the existing call to RegisterBackgroundWorkerinitialized the new field at all.Report and patch by Shigeru Hanada.
1 parent9d7ded0 commit616afee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎contrib/worker_spi/worker_spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ _PG_init(void)
348348
worker.bgw_start_time=BgWorkerStart_RecoveryFinished;
349349
worker.bgw_restart_time=BGW_NEVER_RESTART;
350350
worker.bgw_main=worker_spi_main;
351+
worker.bgw_notify_pid=0;
351352

352353
/*
353354
* Now fill in worker-specific data, and do the actual registrations.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp