CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: neilc(at)svr1(dot)postgresql(dot)org 04/01/24 15:38:50
Modified files:
src/bin/psql : command.c common.c common.h copy.c describe.c
input.c mainloop.c print.c prompt.c startup.c
stringutils.c tab-complete.c variables.c
Log message:
This patch makes some of the memory manipulation performed by psql a
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().