Fix possible division by zero in pg_xlogdump.
Andres Freund <andres@anarazel.de>
Fix possible division by zero in pg_xlogdump. When displaying stats it was possible that a floating point division by zero occured when no FPIs were issued for a type of record. Author: Abhijit Menon-Sen Discussion: 20150417091811.GA14008@toroid.org
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_xlogdump/pg_xlogdump.c | modified | +38 −15 |