Обсуждение: pgsql: Get rid of a bunch of dubious error handling code in pgbench by

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)