Re: pgsql_tmp and external sort - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pgsql_tmp and external sort
Date
Msg-id 51D29948.6000509@vmware.com
Whole thread Raw
In response to pgsql_tmp and external sort  (Soroosh Sardari <soroosh.sardari@gmail.com>)
List pgsql-hackers
On 02.07.2013 10:55, Soroosh Sardari wrote:
> Dear Hackers
>
> Recently I find about pgsql_tmp directory. As I think, this directory is a
> area for making temporal files which are used for external sort.
>
> I wonder if anyone could help me to find the module of pg that is
> responsible for the temporal space and external sort in the PG source code.

See src/backend/utils/sort/tuplesort.c and 
src/backend/storage/file/buffile.c for starters.

- Heikki



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: simple date constructor from numeric values
Next
From: Tatsuo Ishii
Date:
Subject: Re: [9.4 CF 1] The Commitfest Slacker List