summaryrefslogtreecommitdiff
path: root/src/backend/main
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/main
parent6f84b2da75d3c5d4d401c94f92c9ac184a6faf5a (diff)
downloadpostgresql-44f90212236bfb6fc1279e95dc8fa315104d964e.tar.gz
Remove BEOS port.
Diffstat (limited to 'src/backend/main')
-rw-r--r--src/backend/main/main.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 866c922afd..c2ea5fc857 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.98 2005/12/28 23:22:51 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.99 2006/01/05 03:01:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -118,11 +118,6 @@ main(int argc, char *argv[])
}
#endif
-#ifdef __BEOS__
- /* BeOS-specific actions on startup */
- beos_startup(argc, argv);
-#endif
-
/*
* Not-quite-so-platform-specific startup environment checks. Still best
* to minimize these.
@@ -205,13 +200,8 @@ main(int argc, char *argv[])
strcmp(argv[1], "-V") == 0)))
{
#ifndef WIN32
-#ifndef __BEOS__
-
/*
* Make sure we are not running as root.
- *
- * BeOS currently runs everything as root :-(, so this check must be
- * temporarily disabled there...
*/
if (geteuid() == 0)
{
@@ -221,7 +211,6 @@ main(int argc, char *argv[])
"more information on how to properly start the server.\n");
exit(1);
}
-#endif /* !__BEOS__ */
/*
* Also make sure that real and effective uids are the same. Executing