Re: Why repalloc() != realloc() ?

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why repalloc() != realloc() ?
Date: 2004-06-02 03:53:39
Message-ID: 20040602035339.GC2019@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-02 03:59:14 Re: Nested transactions and tuple header info
Previous Message Alvaro Herrera 2004-06-02 03:50:42 Re: Nested transactions and tuple header info