Re: Why repalloc() != realloc() ? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Why repalloc() != realloc() ?
Date
Msg-id 20040602035339.GC2019@dcc.uchile.cl
Whole thread Raw
In response to Re: Why repalloc() != realloc() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jun 01, 2004 at 11:39:57PM -0400, Tom Lane wrote:

> > I assume this is because the NULL pointer would not know what context it
> > belongs to,
> 
> That's a sufficient reason from my point of view.

Right, you've convinced me.  Just wanted to know if I could save three
lines of code.  Probably not a compelling reason to change the behavior.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El realista sabe lo que quiere; el idealista quiere lo que sabe" (Anónimo)



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Nested transactions and tuple header info
Next
From: Bruce Momjian
Date:
Subject: Re: Nested transactions and tuple header info