Re: SetVariable - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SetVariable
Date
Msg-id 258.1062279030@sss.pgh.pa.us
Whole thread Raw
In response to Re: SetVariable  ("Gaetano Mendola" <mendola@bigfoot.com>)
List pgsql-hackers
"Gaetano Mendola" <mendola@bigfoot.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> strdup -> xstrdup if you're concerned.

> May be is a good idea avoid the future use:
> #define strdup   STRDUP_DEPRECATED_USE_INSTEAD_XSTRDUP

Not a good idea --- there are places that want to check for strdup
failure and do something different than exit(1).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: massive quotes?
Next
From: Scott Lamb
Date:
Subject: Re: Date input changed in 7.4 ?