Get rid of a bunch of dubious error handling code in pgbench by just erroring

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 00f76dbffa1e3ff8ff5499cd90d84e886bfb8cbf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-08-12T21:10:59Z
Releases: 9.1.0
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.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +94 −113