default tablespaces

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: default tablespaces
Date: 2005-07-05 16:58:19
Message-ID: c2d9e70e05070509584c011bd8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

is there a way to specify a default tablespace for tables and a
different one for indexes without put it in the CREATE statement?

i guess one way is to set 'default_tablespace' for table's tablespace
create or table without any indexes and then set it for idx's
tablespace and create all indexes, a workaround that come to my mind.

Any other idea?

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Pratt 2005-07-05 17:10:31 Re: Regex escape [ character and change text result into
Previous Message Tom Lane 2005-07-05 16:22:57 Re: Regex escape [ character and change text result into integer