]> granicus.if.org Git - postgresql/commit
Fix possible division by zero in pg_xlogdump.
authorAndres Freund <andres@anarazel.de>
Sun, 26 Apr 2015 16:02:32 +0000 (18:02 +0200)
committerAndres Freund <andres@anarazel.de>
Sun, 26 Apr 2015 16:02:32 +0000 (18:02 +0200)
commit9fe1d9ac6820cff354a5402114b96dae1221eba3
treec23b974d2776c54c28b38ed29b19807f2badce8b
parentcac76582053ef8ea07df65fed0757f352da23705
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
src/bin/pg_xlogdump/pg_xlogdump.c