Re: adding strndup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: adding strndup
Date
Msg-id 20462.1575474893@sss.pgh.pa.us
Whole thread Raw
In response to adding strndup  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I just proposed in
> https://postgr.es/m/0191204143715.GA17312@alvherre.pgsql the addition of
> strndup() to our src/port.
> I think this should be pretty uncontroversial, but wanted to give a
> heads-up outside that thread.  I attach the patch here for completeness.

Grepping, I notice that ecpg has an ecpg_strndup; should that be
replaced with this?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Runtime pruning problem
Next
From: Andrew Dunstan
Date:
Subject: Re: Windows buildfarm members vs. new async-notify isolation test