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