Re: Reindexing and tablespaces - Mailing list pgsql-general

From Michael Paquier
Subject Re: Reindexing and tablespaces
Date
Msg-id CAB7nPqQb7+A3W+Chs7Gk9pg1vKGVNq2iDA0N3n3xQfORNBVaog@mail.gmail.com
Whole thread Raw
In response to Reindexing and tablespaces  (alexandros_e <alexandros.ef@gmail.com>)
Responses Re: Reindexing and tablespaces  (alexandros_e <alexandros.ef@gmail.com>)
List pgsql-general
On Fri, Jan 31, 2014 at 1:24 PM, alexandros_e <alexandros.ef@gmail.com> wrote:
> Hello to all,
>
> I have done ALTER DATABASE "[database_name]" SET default_tablespace =
> [new_tablespace]; I am wondering, if I  reindex this entire DB would the
> indexes automatically moved into the [new_tablespace] or will they remain in
> the tablespace they were originally created on;
They remain on the tablespace they have been created on. Note as well
that the new value of default_tablespace takes effect only after
reloading the session.
Regards,
--
Michael


pgsql-general by date:

Previous
From: alexandros_e
Date:
Subject: Reindexing and tablespaces
Next
From: mephysto
Date:
Subject: Temporary table already exists