Re: Move indexes - Mailing list pgsql-admin

From Simon Riggs
Subject Re: Move indexes
Date
Msg-id 1163540901.27956.112.camel@silverbirch.site
Whole thread Raw
In response to Move indexes  (Alexander Burbello <burbello3000@yahoo.com.br>)
List pgsql-admin
On Mon, 2006-11-13 at 08:17 -0200, Alexander Burbello wrote:

> I have one tablespace with all my objects.
> I would like to separate indexes from other.
>
> How can I select and move with SQL???
>
> Thank you for your help.

ALTER INDEX name SET TABLESPACE tablespace_name

is the approved way and quicker than re-creating the indexes.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



pgsql-admin by date:

Previous
From: TomDB
Date:
Subject: Re: replication?
Next
From: "Simon Riggs"
Date:
Subject: Re: Checkpoint Location Format