Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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]>)
"El realista sabe lo que quiere; el idealista quiere lo que sabe" (AnĂ³nimo)

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2004-06-02 03:59:14
Subject: Re: Nested transactions and tuple header info
Previous:From: Alvaro HerreraDate: 2004-06-02 03:50:42
Subject: Re: Nested transactions and tuple header info

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group