Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f9b46 commit 5a4f763Copy full SHA for 5a4f763
src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
37
*
38
39
* IDENTIFICATION
40
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.588 2009/08/24 17:23:02 alvherre Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.589 2009/08/24 18:09:37 tgl Exp $
41
42
* NOTES
43
@@ -3024,7 +3024,8 @@ BackendStartup(Port *port)
3024
/* in parent, fork failed */
3025
int save_errno = errno;
3026
3027
- (void) ReleasePostmasterChildSlot(bn->child_slot);
+ if (!bn->dead_end)
3028
+ (void) ReleasePostmasterChildSlot(bn->child_slot);
3029
free(bn);
3030
errno = save_errno;
3031
ereport(LOG,
0 commit comments