Skip to content

Commit 4c274b4

Browse files
committed
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.
1 parent 969685a commit 4c274b4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/backend/tcop/postgres.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.377 2003/11/29 19:51:57 pgsql Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.378 2003/11/29 21:40:43 tgl Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2656,11 +2656,9 @@ PostgresMain(int argc, char *argv[], const char *username)
26562656
/* Need not flush since ReadyForQuery will do it. */
26572657
}
26582658

2659+
/* Welcome banner for non-frontend case */
26592660
if (!IsUnderPostmaster)
2660-
{
2661-
puts("\nPOSTGRES backend interactive interface ");
2662-
puts("$Revision: 1.377 $ $Date: 2003/11/29 19:51:57 $\n");
2663-
}
2661+
printf("\nPostgreSQL stand-alone backend %s\n", PG_VERSION);
26642662

26652663
/*
26662664
* Create the memory context we will use in the main loop.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy