On Fri, Aug 19, 2016 at 6:07 PM, Peter Geoghegan <p...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers