Re: [HACKERS] Tuple sort is broken. It crashes on simple test. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Tuple sort is broken. It crashes on simple test.
Date
Msg-id 21234.1484592860@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Tuple sort is broken. It crashes on simple test.  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> The problem was that one particular call to the macro
> RELEASE_SLAB_SLOT() happened to lack a test-for-NULL-argument needed
> by pass-by-value datum cases. The other two RELEASE_SLAB_SLOT() calls
> already have such a check.

> Attached patch fixes the bug.

Pushed, thanks.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Implement targetlist SRFs using ROWS FROM() (wasChanged SRF in targetlist handling)
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] Tuple sort is broken. It crashes on simple test.