Content-Length: 269410 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7a50bb690b4837d29e715293c156cff2fc72885c

6E Add 'unit' parameter to ExplainProperty{Integer,Float}. · postgrespro/postgres_cluster@7a50bb6 · GitHub
Skip to content

Commit 7a50bb6

Browse files
committed
Add 'unit' parameter to ExplainProperty{Integer,Float}.
This allows to deduplicate some existing code, but mainly avoids some duplication in upcoming commits. In passing, fix variable names indicating wrong unit (seconds instead of ms). Author: Andres Freund Discussion: https://postgr.es/m/20180314002740.cah3mdsonz5mxney@alap3.anarazel.de
1 parent f3e4b95 commit 7a50bb6

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7a50bb690b4837d29e715293c156cff2fc72885c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy