Add 'unit' parameter to ExplainProperty{Integer,Float}.
authorAndres Freund <andres@anarazel.de>
Sat, 17 Mar 2018 06:13:12 +0000 (23:13 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 17 Mar 2018 06:16:04 +0000 (23:16 -0700)
commit7a50bb690b4837d29e715293c156cff2fc72885c
tree655f3c0729365d47156133e0d26644125bec7a6b
parentf3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb
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
contrib/file_fdw/file_fdw.c
src/backend/commands/explain.c
src/include/commands/explain.h