Re: [PATCH] Use optimized single-datum tuplesort in ExecSort

Ronan Dunklau <ronan.dunklau@aiven.io>

From: Ronan Dunklau <ronan.dunklau@aiven.io>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: David Rowley <dgrowleyml@gmail.com>, John Naylor <john.naylor@enterprisedb.com>, James Coleman <jtc331@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>, Dilip Kumar <dilipbalaut@gmail.com>
Date: 2021-07-15T12:27:38Z
Lists: pgsql-hackers
Le jeudi 15 juillet 2021, 14:09:26 CEST Ranier Vilela a écrit :
> Is there a special reason to not share v7b tests and results?
> 

The v7b patch is wrong, as it loses the type of tuplesort being used and as 
such always tries to fetch results using tuplesort_gettupleslot after the first 
tuple is fetched. 


-- 
Ronan Dunklau





Commits

  1. Make nodeSort.c use Datum sorts for single column sorts