Re: Faster StrNCpy - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Faster StrNCpy
Date
Msg-id 25275.1159885451@sss.pgh.pa.us
Whole thread Raw
In response to Re: Faster StrNCpy  (mark@mark.mielke.cc)
List pgsql-hackers
mark@mark.mielke.cc writes:
> ... It would come down to
> whether there was a security requirements that the last bytes
> were '\0' or not. I haven't seen anybody mention this as a
> requirement.

I think it is a requirement for namestrcpy (because the result might end
up on disk), but not elsewhere.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Faster StrNCpy
Next
From: "Magnus Hagander"
Date:
Subject: tsearch2 error msg