Re: [PATCH] Fix NULL checking in check_TSCurrentConfig()

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Xi Wang <xi(dot)wang(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Fix NULL checking in check_TSCurrentConfig()
Date: 2013-01-20 15:39:53
Message-ID: 20130120153952.GL16126@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* 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()..?

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2013-01-20 15:48:30 Re: [PATCH] Fix off-by-one in PQprintTuples()
Previous Message Phil Sorber 2013-01-20 14:58:34 Re: [WIP] pg_ping utility