Hi guys,

 we have pstrdup(char *string) and this tiny patch adds 
 pstrndup(char *sting, Size len).

 By the  way, I  a little  played with the  apache memory  managment and
 they  have the  others interesting  routines like  ap_pstrcat(...) that
 concatenate  all  arguments  (last  must  be  NULL)  to  new  allocated
 string. Is something like this interesting for PostgreSQL?

    Karel

-- 
 Karel Zak  <[EMAIL PROTECTED]>
 http://home.zf.jcu.cz/~zakkr/

Attachment: pstrndup-7.5-03172004.patch.gz
Description: GNU Zip compressed data

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to