Karel, do you plan to use pstrndup for some purpose? I assume so.
---------------------------------------------------------------------------
Karel Zak wrote:
>
> 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 <zakkr@zf.jcu.cz>
> http://home.zf.jcu.cz/~zakkr/
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073