Re: [HACKERS] Bugs in our qsort implementation

2015-07-16 Thread Tom Lane
Peter Geoghegan writes: > On Thu, Jul 16, 2015 at 5:05 PM, Tom Lane wrote: >> It's possible that this issue can only manifest on 9.4 and up where >> we have the ability for tuplesort to allocate work arrays approaching >> INT_MAX elements. But I don't have a lot of faith in that; I think the >>

Re: [HACKERS] Bugs in our qsort implementation

2015-07-16 Thread Peter Geoghegan
On Thu, Jul 16, 2015 at 5:05 PM, Tom Lane wrote: > It's possible that this issue can only manifest on 9.4 and up where > we have the ability for tuplesort to allocate work arrays approaching > INT_MAX elements. But I don't have a lot of faith in that; I think the > worst-case stack depth for the