Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 06f1f53

Browse files
committed
Fast shutdown stop should forcibly disconnect any active backends, even
if a smart shutdown is already in progress. Backpatch to 8.3, this was broken in the patch that introduced "dead-end backends". Per report by Itagaki Takahiro, patch by Fujii Masao.
1 parent dcb2bda commit 06f1f53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/postmaster/postmaster.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.586 2009/08/06 09:50:22 mha Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.587 2009/08/07 05:58:55 heikki Exp $
4141
*
4242
* NOTES
4343
*
@@ -2094,6 +2094,7 @@ pmdie(SIGNAL_ARGS)
20942094
}
20952095
if (pmState == PM_RUN ||
20962096
pmState == PM_WAIT_BACKUP ||
2097+
pmState == PM_WAIT_BACKENDS ||
20972098
pmState == PM_RECOVERY_CONSISTENT)
20982099
{
20992100
ereport(LOG,

0 commit comments

Comments
 (0)