pgsql: Avoid trying to print a NULL char pointer in --describe-config.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid trying to print a NULL char pointer in --describe-config.
Date: 2008-02-23 19:24:09
Message-ID: 20080223192409.64379754109@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid trying to print a NULL char pointer in --describe-config. On some
platforms this works, but on some it crashes. Zdenek Kotala

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/misc:
help_config.c (r1.8 -> r1.8.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/help_config.c?r1=1.8&r2=1.8.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-02-24 05:21:55 pgsql: Use our own getopt() and getopt_long() on Solaris, because that
Previous Message Tom Lane 2008-02-23 19:23:57 pgsql: Avoid trying to print a NULL char pointer in --describe-config.