Get rid of a bunch of dubious error handling code in pgbench by just erroring
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Aug 2010 21:10:59 +0000 (21:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Aug 2010 21:10:59 +0000 (21:10 +0000)
commit00f76dbffa1e3ff8ff5499cd90d84e886bfb8cbf
treee0658efa126939303a93fb5130d94246cd14c240
parent5a4e19abe62d06ed3b7285e6e0fa20bae0a52e88
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.
contrib/pgbench/pgbench.c