aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-10-18 14:54:39 +0900
committerMichael Paquier <michael@paquier.xyz>2023-10-18 14:54:39 +0900
commit2308f18c073333babdcc45139d691a74fae87863 (patch)
tree993847123e4ed708c77e894ca2917505604dc802 /src/backend/jit/llvm/llvmjit_expr.c
parent4a427b82cf19f1b05ca9e26704f8f924af758ded (diff)
downloadpostgresql-2308f18c073333babdcc45139d691a74fae87863.tar.gz
postgresql-2308f18c073333babdcc45139d691a74fae87863.zip
Count write times when extending relation files for shared buffers
Relation files extended multiple blocks at a time have been counting the number of blocks written, but forgot that to increment the write time in this case, as write and relation extension are treated as two different I/O operations in the shared stats: IOOP_EXTEND vs IOOP_WRITE. In this case IOOP_EXTEND was forgotten for normal (non-temporary) relations. Write times are tracked when track_io_timing is enabled, which is not the case by default. Author: Nazir Bilal Yavuz Reviewed-by: Robert Haas, Melanie Plageman Discussion: https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.com Backpatch-through: 16
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions