'waiting' status display had extra space, removed.

Change the administrator to 'an' administrator.
This commit is contained in:
Bruce Momjian 2001-03-14 18:24:34 +00:00
parent 707c0ffdab
commit 9de4b77cee
2 changed files with 5 additions and 5 deletions

View File

@ -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);
/*

View File

@ -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");
}
/*