]> granicus.if.org Git - postgresql/commitdiff
Put out a more useful version indication in the welcome banner for a
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Nov 2003 21:40:43 +0000 (21:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Nov 2003 21:40:43 +0000 (21:40 +0000)
standalone backend --- the CVS revision number of postgres.c is not real
useful to anyone.

src/backend/tcop/postgres.c

index a785c549bfcb5564fc50bcaaa46eb4b248c579ee..0cd91e8fd9533cda87756e8b5a99bf2217fadfb8 100644 (file)
@@ -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.