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

Commit8dd7082

Browse files
committed
Fix description of I/O timing info for shared buffers in EXPLAIN (BUFFERS)
This fixes an error introduced byefb0ef9, that changed thedescription of this field to "shared/local" while these I/O timingsrelate to shared buffers. This information is available whentrack_io_timing is enabled. Note that HEAD has added new counters forlocal buffers in295c36c, so there is no need to touch it. Thedescription is updated to "shared" to be compatible with HEAD.Per discussion with Nazir Bilal Yavuz and Hubert Depesz Lubaczewski,whose EXPLAIN analyzer tool was not actually able to parse the previousterm because of the slash character.Discussion:https://postgr.es/m/ZTCTiUqm_H3iBihl@paquier.xyzBackpatch-through: 15
1 parentf5d8f59 commit8dd7082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/explain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@ show_buffer_usage(ExplainState *es, const BufferUsage *usage, bool planning)
35973597

35983598
if (has_timing)
35993599
{
3600-
appendStringInfoString(es->str," shared/local");
3600+
appendStringInfoString(es->str," shared");
36013601
if (!INSTR_TIME_IS_ZERO(usage->blk_read_time))
36023602
appendStringInfo(es->str," read=%0.3f",
36033603
INSTR_TIME_GET_MILLISEC(usage->blk_read_time));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp