mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Remove initialization from PendingBackendStats
9a8dd2c5a6
has added an initialization to PendingBackendStats, which
has been causing compilation warnings in the buildfarm. This code does
not strictly require it as PendingBackendStats is always initialized
with memset(0), so let's remove it.
Per report from multiple buildfarm members, like ayu and batfish, via
Tom Lane.
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/1870853.1741749264@sss.pgh.pa.us
This commit is contained in:
@ -36,7 +36,7 @@
|
|||||||
* reported within critical sections so we use static memory in order to avoid
|
* reported within critical sections so we use static memory in order to avoid
|
||||||
* memory allocation.
|
* memory allocation.
|
||||||
*/
|
*/
|
||||||
static PgStat_BackendPending PendingBackendStats = {0};
|
static PgStat_BackendPending PendingBackendStats;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* WAL usage counters saved from pgWalUsage at the previous call to
|
* WAL usage counters saved from pgWalUsage at the previous call to
|
||||||
|
Reference in New Issue
Block a user