index e735f487b8715d930618f71ff2e476b26d8a046e..fd78576c1b804a8910c5357abbbbef59fecb376c 100644 (file)
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.78 2004年05月18日 20:18:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.79 2004年05月18日 20:27:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
exit(1);
}
+ get_pkglib_path(my_exec_path, pkglib_path);
+
/*
* Now dispatch to one of PostmasterMain, PostgresMain, GucInfoMain,
* SubPostmasterMain, pgstat_main, pgstat_mainChild or BootstrapMain
index c9a0d737c44cbb390015425f9e9d5bc753710829..5bed34094c3b53c4292487ff5957d20d30ab1616 100644 (file)
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.389 2004年05月18日 20:18:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.390 2004年05月18日 20:27:25 momjian Exp $
*
* NOTES
*
(errmsg_internal("-----------------------------------------")));
}
- if (strlen(pkglib_path) == 0)
- get_pkglib_path(my_exec_path, pkglib_path);
-
#ifdef EXEC_BACKEND
if (find_other_exec(argv[0], "postgres", PG_VERSIONSTR, postgres_exec_path) < 0)
ereport(FATAL,
index 77fc42e0a549b722896893cc66d6a3219b65e6de..658976f23859425e0291296e897bf099aa5870ab 100644 (file)
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.408 2004年05月18日 20:18:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.409 2004年05月18日 20:27:25 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -2549,9 +2549,6 @@ PostgresMain(int argc, char *argv[], const char *username)
}
Assert(DataDir);
- if (strlen(pkglib_path) == 0)
- get_pkglib_path(my_exec_path, pkglib_path);
-
/* Acquire configuration parameters */
if (IsUnderPostmaster)
{