Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Xi Wang (xi(dot)wang(at)gmail(dot)com) wrote:
>> The correct NULL check should use `*newval'; `newval' must be non-null.
> Why isn't this using pstrdup()..?
The GUC API uses malloc, mainly because guc.c can't afford to lose
control on out-of-memory situations.
regards, tom lane