Re: [HACKERS] min() and max() causing aborts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] min() and max() causing aborts
Date: 1999-03-21 19:15:02
Message-ID: 8817.922043702@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I am attaching the patch I BACKED HOW, so the user can see if it is in
> their tree. It should not be ther.

I see the problem with that patch: it's assuming that the old value is
necessarily a pointer to something. For pass-by-value types (eg int4),
it ain't.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-21 19:20:39 Re: [HACKERS] aggregation memory leak and fix
Previous Message Bruce Momjian 1999-03-21 18:58:37 Re: [HACKERS] min() and max() causing aborts