Re: Replacement Selection - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Replacement Selection
Date
Msg-id 474ACB66.3080305@enterprisedb.com
Whole thread Raw
In response to Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Responses Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Re: Replacement Selection  (<mac_man2005@hotmail.it>)
Re: Replacement Selection  (<mac_man2005@hotmail.it>)
List pgsql-hackers
mac_man2005@hotmail.it wrote:
> I downloaded the source code of the last stable version of PostgreSQL. 
> Where can I find the part related to the External Sorting algorithm 
> (supposed to be Replacement Selection)?
> I mean, which is the file to be studied and/or modified and/or substituted?

In src/backend/utils/sort/tuplesort.c. The comments at the top of that 
file is a good place to start.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Replacement Selection
Next
From: Mark Cave-Ayland
Date:
Subject: Locating sharedir in PostgreSQL on Windows