Re: PoC: Partial sort - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: PoC: Partial sort
Date
Msg-id 52C3881D.9080107@proxel.se
Whole thread Raw
In response to Re: PoC: Partial sort  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
On 12/28/2013 04:51 PM, Alexander Korotkov wrote:
> I've compiled it with clang. Yeah, there was mixed declarations. I've
> rechecked it with gcc, now it gives no warnings. I didn't try it with
> visual studio, but I hope it will be OK.

I looked at this version of the patch and noticed a possibility for 
improvement. You could decrement the bound for the tuplesort after every 
completed sort. Otherwise the optimizations for small limits wont apply 
to partial sort.

-- 
Andreas Karlsson



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: persistent plpgsql plugin info - field plugin_info for plpgsql_function structure
Next
From: Amit Kapila
Date:
Subject: Re: proposal: persistent plpgsql plugin info - field plugin_info for plpgsql_function structure