Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c274b4

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 realuseful to anyone.
1 parent969685a commit4c274b4

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/2919:51:57 pgsql Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.378 2003/11/2921: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)

[8]ページ先頭

©2009-2025 Movatter.jp