Re: --describe-config crashes - Mailing list pgsql-patches

From Tom Lane
Subject Re: --describe-config crashes
Date
Msg-id 13913.1203619993@sss.pgh.pa.us
Whole thread Raw
In response to --describe-config crashes  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: --describe-config crashes
List pgsql-patches
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Function printMixedStruct calls printf with NULL argument. It causes
> segmentation fault. Please, apply it for 8.3 - 8.1 too.

Ugh, I guess we've only tested --describe-config on platforms where
%s treats a NULL pointer the same as an empty string.

Since that's also effectively the way GUC handles it, I'm inclined
to think we should print NULL as "" not "(NULL)".  Otherwise,
will apply.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix in --help output
Next
From: Peter Eisentraut
Date:
Subject: Re: fix in --help output