Skip to content

Commit 9de4b77

Browse files
committed
'waiting' status display had extra space, removed.
Change the administrator to 'an' administrator.
1 parent 707c0ff commit 9de4b77

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/storage/lmgr/lock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.85 2001/02/23 20:12:37 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.86 2001/03/14 18:24:32 momjian Exp $
1212
*
1313
* NOTES
1414
* Outside modules can create a lock table and acquire/release
@@ -934,7 +934,7 @@ WaitOnLock(LOCKMETHOD lockmethod, LOCKMODE lockmode,
934934
old_status = pstrdup(get_ps_display());
935935
new_status = (char *) palloc(strlen(old_status) + 10);
936936
strcpy(new_status, old_status);
937-
strcat(new_status, " waiting");
937+
strcat(new_status, "waiting");
938938
set_ps_display(new_status);
939939

940940
/*

src/backend/tcop/postgres.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.211 2001/03/14 15:14:35 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.212 2001/03/14 18:24:34 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1034,7 +1034,7 @@ ProcessInterrupts(void)
10341034
ProcDiePending = false;
10351035
QueryCancelPending = false; /* ProcDie trumps QueryCancel */
10361036
ImmediateInterruptOK = false; /* not idle anymore */
1037-
elog(FATAL, "This connection has been terminated by the administrator");
1037+
elog(FATAL, "This connection has been terminated by an administrator");
10381038
}
10391039
if (QueryCancelPending)
10401040
{
@@ -1692,7 +1692,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
16921692
if (!IsUnderPostmaster)
16931693
{
16941694
puts("\nPOSTGRES backend interactive interface ");
1695-
puts("$Revision: 1.211 $ $Date: 2001/03/14 15:14:35 $\n");
1695+
puts("$Revision: 1.212 $ $Date: 2001/03/14 18:24:34 $\n");
16961696
}
16971697

16981698
/*

0 commit comments

Comments
 (0)