Re: Fwd: alter table ... set tablespace - Mailing list pgsql-novice

From Tom Lane
Subject Re: Fwd: alter table ... set tablespace
Date
Msg-id 3773.1245511310@sss.pgh.pa.us
Whole thread Raw
In response to Fwd: alter table ... set tablespace  (sergio nogueira <sergiopnog@gmail.com>)
List pgsql-novice
sergio nogueira <sergiopnog@gmail.com> writes:
> dmonitor=> alter table whattbs set tablespace monitor_dat1;
> ALTER TABLE
> dmonitor=> select tablename, tablespace from pg_tables where
> tablename='whattbs';
>  tablename | tablespace
> -----------+------------
>   whattbs   |
> (1 row)

> In what tablespace is the table?

It's probably in the default tablespace for the current database.

            regards, tom lane

pgsql-novice by date:

Previous
From: sergio nogueira
Date:
Subject: Fwd: alter table ... set tablespace
Next
From: "Kevin Duffy"
Date:
Subject: Re: level of recursion