Re: adding strndup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: adding strndup
Date
Msg-id 3875.1575497830@sss.pgh.pa.us
Whole thread Raw
In response to Re: adding strndup  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> I can get behind that ... it makes the patch a lot smaller.

> Here it is.

LGTM.

> I noticed that ECPG's copy was setting errno.  I had forgot to do that
> in my previous patch, but on second look, malloc failure already sets
> it, so doing it again is pointless.

Right.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: adding strndup
Next
From: Peter Eisentraut
Date:
Subject: about allow_system_table_mods and SET STATISTICS