Add 'unit' parameter to ExplainProperty{Integer,Float}.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/file_fdw/file_fdw.c | modified | +1 −1 |
| src/backend/commands/explain.c | modified | +108 −91 |
| src/include/commands/explain.h | modified | +4 −4 |
Discussion
- ExplainProperty* and units 10 messages · 2018-03-14 → 2018-03-16