Re: Bug in abbreviated keys abort handling (found with amcheck)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Bug in abbreviated keys abort handling (found with amcheck)
Дата
Msg-id CA+TgmoaafJc6oLzy4H0zr1C+tb8VrVTsQfJh2BFQzS9=2GdDnw@mail.gmail.com
обсуждение исходный текст
Ответ на Bug in abbreviated keys abort handling (found with amcheck)  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Bug in abbreviated keys abort handling (found with amcheck)  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
On Fri, Aug 19, 2016 at 6:07 PM, Peter Geoghegan <pg@heroku.com> wrote:
> I found another bug as a result of using amcheck on Heroku customer
> databases. This time, the bug is in core Postgres. It's one of mine.
>
> There was a thinko in tuplesort's abbreviation abort logic, causing
> certain SortTuples to be spuriously marked NULL (and so, subsequently
> sorted as a NULL tuple, despite not actually changing anything about
> the representation of caller tuples). The attached patch fixes this
> bug.

Ugh, that sucks. Thanks for the report and patch.  Committed and
back-patched to 9.5.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Changed SRF in targetlist handling
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Changed SRF in targetlist handling