Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf554a95

Browse files
committed
Remove initialization from PendingBackendStats
9a8dd2c has added an initialization to PendingBackendStats, whichhas been causing compilation warnings in the buildfarm. This code doesnot strictly require it as PendingBackendStats is always initializedwith memset(0), so let's remove it.Per report from multiple buildfarm members, like ayu and batfish, viaTom Lane.Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Discussion:https://postgr.es/m/1870853.1741749264@sss.pgh.pa.us
1 parent72a3d04 commitf554a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/activity/pgstat_backend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* reported within critical sections so we use static memory in order to avoid
3737
* memory allocation.
3838
*/
39-
staticPgStat_BackendPendingPendingBackendStats= {0};
39+
staticPgStat_BackendPendingPendingBackendStats;
4040

4141
/*
4242
* WAL usage counters saved from pgWalUsage at the previous call to

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp