Commit 4c274b4f authored by Tom Lane's avatar Tom Lane

Put out a more useful version indication in the welcome banner for a

standalone backend --- the CVS revision number of postgres.c is not real
useful to anyone.
parent 969685ad
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.377 2003/11/29 19:51:57 pgsql Exp $ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.378 2003/11/29 21:40:43 tgl Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -2656,11 +2656,9 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -2656,11 +2656,9 @@ PostgresMain(int argc, char *argv[], const char *username)
/* Need not flush since ReadyForQuery will do it. */ /* Need not flush since ReadyForQuery will do it. */
} }
/* Welcome banner for non-frontend case */
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ printf("\nPostgreSQL stand-alone backend %s\n", PG_VERSION);
puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.377 $ $Date: 2003/11/29 19:51:57 $\n");
}
/* /*
* Create the memory context we will use in the main loop. * Create the memory context we will use in the main loop.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment