Re: [HACKERS] Tuple sort is broken. It crashes on simple test.
От
Peter Geoghegan
Тема
Re: [HACKERS] Tuple sort is broken. It crashes on simple test.
Дата
Msg-id
CAM3SWZRtYCAEyyT9am4Te_CaizmHfPehzyRnEsjdc55zzQCBDQ@mail.gmail.com
Ответ на
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. (Michael Paquier)
Список
Дерево обсуждения
[HACKERS] Tuple sort is broken. It crashes on simple test. Mithun Cy <mithun.cy@enterprisedb.com>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Peter Geoghegan <pg@heroku.com>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Peter Geoghegan <pg@heroku.com>
Re: [HACKERS] Tuple sort is broken. It crashes on simple test. Pavel Stehule <pavel.stehule@gmail.com>
On Mon, Jan 16, 2017 at 3:48 AM, Michael Paquier wrote: > Indeed. It crashes for me immediately by adding an ORDER BY: > select count(distinct t) from seq_tab order by 1; 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. -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата: