diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-05-14 17:04:48 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-05-14 17:04:48 +0000 |
commit | 9f944f04431882fb0a3cea87451eccb9d3aac7f5 (patch) | |
tree | 2b11c11e7b3a6cbf854fe5460e50e9c56b1d6db0 /src/backend/tcop/postgres.c | |
parent | 550735cd735ea1c07c12f34a863780a178c1e547 (diff) | |
download | postgresql-9f944f04431882fb0a3cea87451eccb9d3aac7f5.tar.gz postgresql-9f944f04431882fb0a3cea87451eccb9d3aac7f5.zip |
Adjust find_my_exec/find_other_exec() so that the return parameter is
last, not first. This fits our style better.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 97c4d1dde16..72750bfa623 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.405 2004/05/13 22:45:03 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.406 2004/05/14 17:04:45 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2648,7 +2648,7 @@ PostgresMain(int argc, char *argv[], const char *username) /* * On some systems our dynloader code needs the executable's pathname. */ - if (strlen(my_exec_path) == 0 && find_my_exec(my_exec_path, argv[0]) < 0) + if (strlen(my_exec_path) == 0 && find_my_exec(argv[0], my_exec_path) < 0) ereport(FATAL, (errmsg("%s: could not locate postgres executable", argv[0]))); |