Re: Btree indexes temp copy Was [Re: Cluster using tablespaces?] - Mailing list pgsql-general

From Tom Lane
Subject Re: Btree indexes temp copy Was [Re: Cluster using tablespaces?]
Date
Msg-id 2514.1196313943@sss.pgh.pa.us
Whole thread Raw
In response to Btree indexes temp copy Was [Re: Cluster using tablespaces?]  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
List pgsql-general
Ow Mun Heng <Ow.Mun.Heng@wdc.com> writes:
> On Wed, 2007-11-28 at 18:30 -0500, Tom Lane wrote:
>> For btree indexes, there is a temporary copy of the index data, which
>> will go wherever you have arranged for temp files to go.  (I think that
>> easy user control of this may be new for 8.3, though.)

> In 8.2.5 is there a way to control this?

You can replace the pgsql_tmp subdirectory with a symlink to someplace.

This is outside the purview of the database, so for instance it won't
survive a dump/reload, but it can be a workable hack ...

            regards, tom lane

pgsql-general by date:

Previous
From: "Chris Velevitch"
Date:
Subject: Create index syntax error
Next
From: Chris
Date:
Subject: Re: Create index syntax error