提交 9de4b77c 编写于 作者: B Bruce Momjian

'waiting' status display had extra space, removed.

Change the administrator to 'an' administrator.
上级 707c0ffd
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.85 2001/02/23 20:12:37 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.86 2001/03/14 18:24:32 momjian Exp $
*
* NOTES
* Outside modules can create a lock table and acquire/release
......@@ -934,7 +934,7 @@ WaitOnLock(LOCKMETHOD lockmethod, LOCKMODE lockmode,
old_status = pstrdup(get_ps_display());
new_status = (char *) palloc(strlen(old_status) + 10);
strcpy(new_status, old_status);
strcat(new_status, " waiting");
strcat(new_status, "waiting");
set_ps_display(new_status);
/*
......
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.211 2001/03/14 15:14:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.212 2001/03/14 18:24:34 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
......@@ -1034,7 +1034,7 @@ ProcessInterrupts(void)
ProcDiePending = false;
QueryCancelPending = false; /* ProcDie trumps QueryCancel */
ImmediateInterruptOK = false; /* not idle anymore */
elog(FATAL, "This connection has been terminated by the administrator");
elog(FATAL, "This connection has been terminated by an administrator");
}
if (QueryCancelPending)
{
......@@ -1692,7 +1692,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.211 $ $Date: 2001/03/14 15:14:35 $\n");
puts("$Revision: 1.212 $ $Date: 2001/03/14 18:24:34 $\n");
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册