diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index 6e9c580ec6..663d18d61f 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -1310,6 +1310,8 @@ asyncQueueAddEntries(ListCell *nextNotify)
 	int			offset;
 	int			slotno;
 
+	memset(qe.data, 0, sizeof(qe.data));
+
 	/* We hold both AsyncQueueLock and AsyncCtlLock during this operation */
 	LWLockAcquire(AsyncCtlLock, LW_EXCLUSIVE);
 
