File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1111 * Portions Copyright (c) 1994, Regents of the University of California
1212 *
1313 * IDENTIFICATION
14- * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.24 2010/05/26 19:52:52 sriggs Exp $
14+ * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.25 2010/06/14 00:49:24 itagaki Exp $
1515 *
1616 *-------------------------------------------------------------------------
1717 */
@@ -184,11 +184,9 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist,
184184 int len ;
185185
186186 old_status = get_ps_display (& len );
187- new_status = (char * ) palloc (len + 50 );
187+ new_status = (char * ) palloc (len + 8 + 1 );
188188 memcpy (new_status , old_status , len );
189- snprintf (new_status + len , 50 ,
190- " waiting for max_standby_delay (%d ms)" ,
191- MaxStandbyDelay );
189+ strcpy (new_status + len , " waiting" );
192190 set_ps_display (new_status , false);
193191 new_status [len ] = '\0' ; /* truncate off " waiting" */
194192 }
You can’t perform that action at this time.
0 commit comments