1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-07 11:02:12 +03:00

Message mentions msec when it should be seconds, so use s instead of ms.

Noticed by Andres Freund
This commit is contained in:
Simon Riggs 2010-01-16 10:13:04 +00:00
parent a8ce974cdd
commit 2edc31c439

View File

@ -11,7 +11,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.5 2010/01/16 10:05:50 sriggs Exp $ * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.6 2010/01/16 10:13:04 sriggs Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -191,7 +191,7 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist,
oldactivitymsg = get_ps_display(&len); oldactivitymsg = get_ps_display(&len);
snprintf(waitactivitymsg, sizeof(waitactivitymsg), snprintf(waitactivitymsg, sizeof(waitactivitymsg),
"waiting for max_standby_delay (%u ms)", "waiting for max_standby_delay (%u s)",
MaxStandbyDelay); MaxStandbyDelay);
set_ps_display(waitactivitymsg, false); set_ps_display(waitactivitymsg, false);
if (len > 100) if (len > 100)