Fix comment in instrument.h
authorMichael Paquier <michael@paquier.xyz>
Fri, 31 Jul 2020 05:17:29 +0000 (14:17 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 31 Jul 2020 05:17:29 +0000 (14:17 +0900)
local_blks_dirtied tracks the number of local blocks dirtied, not shared
ones.

Author: Kirk Jamison
Discussion: https://postgr.es/m/OSBPR01MB2341760686DC056DE89D2AB9EF710@OSBPR01MB2341.jpnprd01.prod.outlook.com

src/include/executor/instrument.h

index a97562e7a4fea3bfeb04d81301744bb699a1558b..9dc3ecb07d79b88d7fbfc4c38556dac12e0c7bab 100644 (file)
@@ -24,7 +24,7 @@ typedef struct BufferUsage
    long        shared_blks_written;    /* # of shared disk blocks written */
    long        local_blks_hit; /* # of local buffer hits */
    long        local_blks_read;    /* # of local disk blocks read */
-   long        local_blks_dirtied; /* # of shared blocks dirtied */
+   long        local_blks_dirtied; /* # of local blocks dirtied */
    long        local_blks_written; /* # of local disk blocks written */
    long        temp_blks_read; /* # of temp blocks read */
    long        temp_blks_written;  /* # of temp blocks written */