Re: GUC and postgresql.conf docs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GUC and postgresql.conf docs
Date
Msg-id 19361.1052869056@sss.pgh.pa.us
Whole thread Raw
In response to Re: GUC and postgresql.conf docs  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> While I'm writing this guide ... where does PostgreSQL store temp files for 
> queires which are too large for sort_mem?

Each database has a temp directory.  I think it's called
$PGDATA/base/DBOID/pgsql_tmp.  You can replace that subdirectory by a
symlink if you want to put temp files someplace else.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: GUC and postgresql.conf docs
Next
From: Sailesh Krishnamurthy
Date:
Subject: Re: LISTEN/NOTIFY benchmarks?