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

Commit7a50bb6

Browse files
committed
Add 'unit' parameter to ExplainProperty{Integer,Float}.
This allows to deduplicate some existing code, but mainly avoids someduplication in upcoming commits.In passing, fix variable names indicating wrong unit (seconds insteadof ms).Author: Andres FreundDiscussion:https://postgr.es/m/20180314002740.cah3mdsonz5mxney@alap3.anarazel.de
1 parentf3e4b95 commit7a50bb6

File tree

3 files changed

+113
-96
lines changed

3 files changed

+113
-96
lines changed

‎contrib/file_fdw/file_fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ fileExplainForeignScan(ForeignScanState *node, ExplainState *es)
622622

623623
if (!is_program&&
624624
stat(filename,&stat_buf)==0)
625-
ExplainPropertyInteger("Foreign File Size",
625+
ExplainPropertyInteger("Foreign File Size","b",
626626
(int64)stat_buf.st_size,es);
627627
}
628628
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp