Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group