pgsql: Get rid of a bunch of dubious error handling code in pgbench by - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Get rid of a bunch of dubious error handling code in pgbench by
Date
Msg-id 20100812211059.BBF317541D7@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add the ability to compute per-statement latencies (ie, average
Next
From: rhaas@postgresql.org (Robert Haas)
Date:
Subject: pgsql: Correct sundry errors in Hot Standby-related comments.