From: Simon Riggs Date: Tue, 6 Oct 2009 09:20:58 +0000 (+0100) Subject: Apply 0013-Remove-dead-memset-call.patch X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=90480cc3d7cbdaf08c2df11a1bc16ac2d8f0dce1;p=users%2Fsimon%2Fpostgres.git Apply 0013-Remove-dead-memset-call.patch --- diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c index bef015cad2..a8cce994e1 100644 --- a/src/backend/utils/cache/inval.c +++ b/src/backend/utils/cache/inval.c @@ -1507,7 +1507,6 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist, set_ps_display(waitactivitymsg, false); if (len > 100) len = 100; - memset(waitactivitymsg, 0, len); memcpy(waitactivitymsg, oldactivitymsg, len); ereport(trace_recovery(DEBUG5),