diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 22:46:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 22:46:24 +0000 |
commit | 870993e8717f928437dfb466901a135c63686905 (patch) | |
tree | 57e07272400d436489e8de65a0b653b244acd8e0 /src/backend | |
parent | 8dd6c4b4befbd084e94b17809207b2e1e349cb6c (diff) | |
download | postgresql-870993e8717f928437dfb466901a135c63686905.tar.gz postgresql-870993e8717f928437dfb466901a135c63686905.zip |
Rename miscadmin.h's PG_VERSIONSTR macro to PG_BACKEND_VERSIONSTR to
make it a bit clearer what it is, and get rid of duplicate definitions
in initdb and pg_ctl.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index fe1ed795f91..2c481f93bbf 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.551 2008/01/11 00:54:09 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.552 2008/02/20 22:46:24 tgl Exp $ * * NOTES * @@ -665,7 +665,7 @@ PostmasterMain(int argc, char *argv[]) #ifdef EXEC_BACKEND /* Locate executable backend before we change working directory */ - if (find_other_exec(argv[0], "postgres", PG_VERSIONSTR, + if (find_other_exec(argv[0], "postgres", PG_BACKEND_VERSIONSTR, postgres_exec_path) < 0) ereport(FATAL, (errmsg("%s: could not locate matching postgres executable", |