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

Commit5a4f763

Browse files
committed
Small correction to previous patch: we shouldn't ReleasePostmasterChildSlot
for a dead_end child, because we didn't AssignPostmasterChildSlot.
1 parent45f9b46 commit5a4f763

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 3 additions & 2 deletions
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.588 2009/08/2417:23:02 alvherre Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.589 2009/08/2418:09:37 tgl Exp $
4141
*
4242
* NOTES
4343
*
@@ -3024,7 +3024,8 @@ BackendStartup(Port *port)
30243024
/* in parent, fork failed */
30253025
intsave_errno=errno;
30263026

3027-
(void)ReleasePostmasterChildSlot(bn->child_slot);
3027+
if (!bn->dead_end)
3028+
(void)ReleasePostmasterChildSlot(bn->child_slot);
30283029
free(bn);
30293030
errno=save_errno;
30303031
ereport(LOG,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp