git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 53d7d49)
Remove the xlog-centric "database system is ready" message and replace it with
Wed, 7 Feb 2007 16:44:48 +0000 (16:44 +0000)
Wed, 7 Feb 2007 16:44:48 +0000 (16:44 +0000)
"database system is ready to accept connections", which is issued by the
postmaster when it really is ready to accept connections. Per proposal from
Markus Schiltknecht and subsequent discussion.


diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 62fbab8d9506a8006040ca8d61f8503badf708a2..b1a5a57b2f474603a248237bc390199207163391 100644 (file)
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.261 2007年02月01日 19:10:25 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.262 2007年02月07日 16:44:47 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -5168,9 +5168,6 @@ StartupXLOG(void)
/* Reload shared-memory state for prepared transactions */
RecoverPreparedTransactions();
- ereport(LOG,
- (errmsg("database system is ready")));
-
/* Shut down readFile facility, free space */
if (readFile >= 0)
{
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 43d9212358b97262ada2ec3e2221d98c3b83f857..bac1cff46e76538c787af52dfebb4ef0776a4e82 100644 (file)
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.516 2007年01月29日 20:17:40 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.517 2007年02月07日 16:44:48 tgl Exp $
*
* NOTES
*
@@ -2083,6 +2083,9 @@ reaper(SIGNAL_ARGS)
PgArchPID = pgarch_start();
if (PgStatPID == 0)
PgStatPID = pgstat_start();
+ /* at this point we are really open for business */
+ ereport(LOG,
+ (errmsg("database system is ready to accept connections")));
}
continue;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /