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: [email protected]

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9fe1d9ac6820cff354a5402114b96dae1221eba3

Modified Files
--------------
src/bin/pg_xlogdump/pg_xlogdump.c |   53 ++++++++++++++++++++++++++-----------
1 file changed, 38 insertions(+), 15 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to