diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-11-29 21:40:43 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-11-29 21:40:43 +0000 |
commit | 4c274b4f8a58ac1232aedfd2e55021b7ae85967b (patch) | |
tree | 0fadc5e77b91843681ea1a2b31800daec74cc8f2 /src/backend/tcop/postgres.c | |
parent | 969685ad443637a24650909357e4e768a88412fc (diff) | |
download | postgresql-4c274b4f8a58ac1232aedfd2e55021b7ae85967b.tar.gz postgresql-4c274b4f8a58ac1232aedfd2e55021b7ae85967b.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index a785c549bfc..0cd91e8fd95 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.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 * this is the "main" module of the postgres backend and @@ -2656,11 +2656,9 @@ PostgresMain(int argc, char *argv[], const char *username) /* Need not flush since ReadyForQuery will do it. */ } + /* Welcome banner for non-frontend case */ if (!IsUnderPostmaster) - { - puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.377 $ $Date: 2003/11/29 19:51:57 $\n"); - } + printf("\nPostgreSQL stand-alone backend %s\n", PG_VERSION); /* * Create the memory context we will use in the main loop. |