dbTalk Databases Forums  

[BUGS] BUG #2445: incompatibility: realloc <> repalloc

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2445: incompatibility: realloc <> repalloc in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2445: incompatibility: realloc <> repalloc - 05-21-2006 , 04:36 PM







The following bug has been logged online:

Bug reference: 2445
Logged by:
Email address: friedrich_sperling (AT) web (DOT) 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.

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

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] BUG #2445: incompatibility: realloc <> repalloc - 05-21-2006 , 04:47 PM






"" <friedrich_sperling (AT) web (DOT) de> writes:
Quote:
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.
It's intentional, however.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.