Re: [HACKERS] min() and max() causing aborts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] min() and max() causing aborts
Date
Msg-id 8817.922043702@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] min() and max() causing aborts  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] discussion on proposed int8_ops patch
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] aggregation memory leak and fix