From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | pgsql-patches <pgsql-patches(at)postgreSQL(dot)org> |
Subject: | pstrndup() |
Date: | 2004-03-17 13:04:28 |
Message-ID: | 20040317130427.GA17580@zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
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(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/
Attachment | Content-Type | Size |
---|---|---|
pstrndup-7.5-03172004.patch.gz | application/x-gzip | 564 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-03-17 13:13:43 | Re: Another pg_autovacuum patch |
Previous Message | Fabien COELHO | 2004-03-17 08:09:40 | hint infrastructure setup (v3) |