Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e6003 commit b207081Copy full SHA for b207081
src/backend/postmaster/pgstat.c
@@ -16,7 +16,7 @@
16
*
17
* Copyright (c) 2001, PostgreSQL Global Development Group
18
19
- * $Header: /cvsroot/pgsql/src/backend/postmaster/pgstat.c,v 1.10 2001/10/05 17:28:12 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/pgstat.c,v 1.11 2001/10/16 22:35:27 tgl Exp $
20
* ----------
21
*/
22
#include "postgres.h"
@@ -1754,6 +1754,7 @@ pgstat_add_backend(PgStat_MsgHdr *msg)
1754
beentry->databaseid = msg->m_databaseid;
1755
beentry->procpid = msg->m_procpid;
1756
beentry->userid = msg->m_userid;
1757
+ MemSet(beentry->activity, 0, PGSTAT_ACTIVITY_SIZE);
1758
1759
/*
1760
* Lookup or create the database entry for this backends DB.
0 commit comments