Avoid malloc(0) when printing a table of no columns. On some platforms

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 16cc5372e44bda4ce17e02dbebd988b64326b391
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-11-01T15:12:19Z
Releases: 7.3.1
Avoid malloc(0) when printing a table of no columns.  On some platforms
this returns NULL, which confuses the code.

Files

PathChange+/−
src/bin/psql/print.c modified +29 −18