Skip to content

Commit 6fcf3a6

Browse files
Konstantin Knizhniktristan957
authored andcommitted
Fix bug introduced in 6969d90
1 parent 497749b commit 6fcf3a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4137,7 +4137,7 @@ SignalSomeChildren(int signal, int target)
41374137
* processes.
41384138
*/
41394139
/* Neon: Also allow walproposer background worker to be treated like a WAL sender, so that it's shut down last */
4140-
if ((bp->bkend_type == BACKEND_TYPE_NORMAL || BACKEND_TYPE_BGWORKER) &&
4140+
if ((bp->bkend_type == BACKEND_TYPE_NORMAL || bp->bkend_type == BACKEND_TYPE_BGWORKER) &&
41414141
IsPostmasterChildWalSender(bp->child_slot))
41424142
bp->bkend_type = BACKEND_TYPE_WALSND;
41434143

@@ -5418,7 +5418,7 @@ CountChildren(int target)
54185418
* processes.
54195419
*/
54205420
/* Neon: Also allow walproposer background worker to be treated like a WAL sender, so that it's shut down last */
5421-
if ((bp->bkend_type == BACKEND_TYPE_NORMAL || BACKEND_TYPE_BGWORKER) &&
5421+
if ((bp->bkend_type == BACKEND_TYPE_NORMAL || bp->bkend_type == BACKEND_TYPE_BGWORKER) &&
54225422
IsPostmasterChildWalSender(bp->child_slot))
54235423
bp->bkend_type = BACKEND_TYPE_WALSND;
54245424

0 commit comments

Comments
 (0)