summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/fork_process.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-01-05 03:01:38 +0000
committerBruce Momjian <bruce@momjian.us>2006-01-05 03:01:38 +0000
commit44f90212236bfb6fc1279e95dc8fa315104d964e (patch)
tree2f63a7547c3d27de26003be69d60d48fb03d855f /src/backend/postmaster/fork_process.c
parent6f84b2da75d3c5d4d401c94f92c9ac184a6faf5a (diff)
downloadpostgresql-44f90212236bfb6fc1279e95dc8fa315104d964e.tar.gz
Remove BEOS port.
Diffstat (limited to 'src/backend/postmaster/fork_process.c')
-rw-r--r--src/backend/postmaster/fork_process.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/backend/postmaster/fork_process.c b/src/backend/postmaster/fork_process.c
index 54395b0654..1c6c2d75fa 100644
--- a/src/backend/postmaster/fork_process.c
+++ b/src/backend/postmaster/fork_process.c
@@ -7,7 +7,7 @@
* Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.4 2005/10/15 02:49:23 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.5 2006/01/05 03:01:35 momjian Exp $
*/
#include "postgres.h"
#include "postmaster/fork_process.h"
@@ -52,31 +52,14 @@ fork_process(void)
getitimer(ITIMER_PROF, &prof_itimer);
#endif
-#ifdef __BEOS__
- /* Specific beos actions before backend startup */
- beos_before_backend_startup();
-#endif
-
result = fork();
- if (result == (pid_t) -1)
- {
- /* fork failed */
-#ifdef __BEOS__
- /* Specific beos backend startup actions */
- beos_backend_startup_failed();
-#endif
- }
- else if (result == 0)
+ if (result == 0)
{
/* fork succeeded, in child */
#ifdef LINUX_PROFILE
setitimer(ITIMER_PROF, &prof_itimer, NULL);
#endif
-#ifdef __BEOS__
- /* Specific beos backend startup actions */
- beos_backend_startup();
-#endif
}
return result;