pgsql: Fix utterly-bogus code for computing row heights.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix utterly-bogus code for computing row heights.
Date: 2008-05-17 17:52:14
Message-ID: 20080517175214.518C1754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix utterly-bogus code for computing row heights. Per crashes on
spoonbill, though one wonders why it didn't misbehave everywhere.
In passing remove some unnecessary modulo calculations.

Modified Files:
--------------
pgsql/src/bin/psql:
print.c (r1.103 -> r1.104)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.c?r1=1.103&r2=1.104)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-05-17 20:02:01 pgsql: Improve pg_regress so that it reports the fact if any test
Previous Message Tom Lane 2008-05-17 17:24:57 pgsql: Fix a subtle bug exposed by recent wal_sync_method