BUG #2445: incompatibility: realloc <> repalloc

Поиск
Список
Период
Сортировка
От
Тема BUG #2445: incompatibility: realloc <> repalloc
Дата
Msg-id 200605192200.k4JM0RXU049735@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2445: incompatibility: realloc <> repalloc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2445
Logged by:
Email address:      friedrich_sperling@web.de
PostgreSQL version: 8.1.3
Operating system:   Debien GNU/Linux Etch
Description:        incompatibility: realloc <> repalloc
Details:

it seems that there is a little difference in the handeling of standard
library's realloc and the postgresql repalloc functions, which might be
inconvenient.
if the realloc funtion receives a NULL pointer as first argument, it works
just like the malloc function,
whereas the repalloc function crashes the server.

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

Предыдущее
От: "michael crozier"
Дата:
Сообщение: BUG #2447: backend crashes when plpgsql functions are used in rules
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2445: incompatibility: realloc <> repalloc