Get rid of a bunch of dubious error handling code in pgbench by just erroring
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +94 −113 |