pgsql: Fix possible division by zero in pg_xlogdump.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix possible division by zero in pg_xlogdump.
Date: 2015-04-26 16:03:11
Message-ID: E1YmP1T-0003Rl-Hs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)GA14008(at)toroid(dot)org

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-04-26 16:36:30 Re: pgsql: Add transforms feature
Previous Message Peter Eisentraut 2015-04-26 14:53:28 pgsql: Add transforms feature