• N
    This patch makes some of the memory manipulation performed by psql a · 610d33c1
    Neil Conway 提交于
    little more sane. Some parts of the code was using a static function
    xmalloc() that did safe memory allocation (where "safe" means "bail
    out on OOM"), but most of it was just invoking calloc() or malloc()
    directly. Now almost everything invokes xmalloc() or xcalloc().
    610d33c1
copy.c 12.2 KB