Re: pstrndup()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pstrndup()
Дата
Msg-id 200403220438.i2M4clm04184@candle.pha.pa.us
обсуждение исходный текст
Ответ на pstrndup()  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: pstrndup()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] xlog.c timezone name size
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pstrndup()