Skip to content

Commit 7c07006

Browse files
author
Thomas G. Lockhart
committed
Fix up error and log messages.
1 parent f4ca323 commit 7c07006

File tree

1 file changed

+7
-7
lines changed
  • src/backend/access/transam

1 file changed

+7
-7
lines changed

src/backend/access/transam/xlog.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.9 2000/01/26 05:56:04 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.10 2000/02/15 03:00:37 thomas Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -995,7 +995,7 @@ next_record_is_invalid:;
995995
readId = EndRecPtr.xlogid;
996996
readSeg = EndRecPtr.xrecoff / XLogSegSize;
997997
readOff = (EndRecPtr.xrecoff % XLogSegSize) / BLCKSZ;
998-
elog(LOG, "Formating logfile %u seg %u block %u at offset %u",
998+
elog(LOG, "Formatting logfile %u seg %u block %u at offset %u",
999999
readId, readSeg, readOff, EndRecPtr.xrecoff % BLCKSZ);
10001000
readFile = XLogFileOpen(readId, readSeg, false);
10011001
if (lseek(readFile, (off_t)(readOff * BLCKSZ), SEEK_SET) < 0)
@@ -1026,7 +1026,7 @@ next_record_is_invalid:;
10261026
if (readOff > 0)
10271027
{
10281028
if (!XLByteEQ(tmpRecPtr, EndRecPtr))
1029-
elog(LOG, "Formating logfile %u seg %u block %u at offset 0",
1029+
elog(LOG, "Formatting logfile %u seg %u block %u at offset 0",
10301030
readId, readSeg, readOff);
10311031
readOff *= BLCKSZ;
10321032
memset(readBuf, 0, BLCKSZ);
@@ -1285,7 +1285,7 @@ StartupXLOG()
12851285
ControlFile->catalog_version_no, CATALOG_VERSION_NO);
12861286

12871287
if (ControlFile->state == DB_SHUTDOWNED)
1288-
elog(LOG, "Data Base System was shutdowned at %s",
1288+
elog(LOG, "Data Base System was shut down at %s",
12891289
str_time(ControlFile->time));
12901290
else if (ControlFile->state == DB_SHUTDOWNING)
12911291
elog(LOG, "Data Base System was interrupted when shutting down at %s",
@@ -1349,7 +1349,7 @@ StartupXLOG()
13491349

13501350
if (recovery > 0)
13511351
{
1352-
elog(LOG, "The DataBase system was not properly shutdowned\n"
1352+
elog(LOG, "The DataBase system was not properly shut down\n"
13531353
"\tAutomatic recovery is in progress...");
13541354
ControlFile->state = DB_IN_RECOVERY;
13551355
ControlFile->time = time(NULL);
@@ -1456,11 +1456,11 @@ void
14561456
ShutdownXLOG()
14571457
{
14581458

1459-
elog(LOG, "Data Base System is shutting down at %s", str_time(time(NULL)));
1459+
elog(LOG, "Data Base System shutting down at %s", str_time(time(NULL)));
14601460

14611461
CreateCheckPoint(true);
14621462

1463-
elog(LOG, "Data Base System is shutdowned at %s", str_time(time(NULL)));
1463+
elog(LOG, "Data Base System shut down at %s", str_time(time(NULL)));
14641464
}
14651465

14661466
void

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