pgsql: Get rid of a bunch of dubious error handling code in pgbench by

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Get rid of a bunch of dubious error handling code in pgbench by
Date: 2010-08-12 21:10:59
Message-ID: 20100812211059.BBF317541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Get rid of a bunch of dubious error handling code in pgbench by just erroring
out immediately on any out-of-memory condition. It's rather pointless to
imagine that pgbench will be able to continue usefully after a malloc
failure, and in any case there were a number of unchecked mallocs.

Modified Files:
--------------
pgsql/contrib/pgbench:
pgbench.c (r1.100 -> r1.101)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c?r1=1.100&r2=1.101)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-08-12 23:24:54 pgsql: Correct sundry errors in Hot Standby-related comments.
Previous Message Tom Lane 2010-08-12 20:39:39 pgsql: Add the ability to compute per-statement latencies (ie, average